cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5413) Support Java API for JSON Processing
Date Thu, 01 May 2014 15:53:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andriy Redko updated CXF-5413:
------------------------------

    Description: 
JAX-RS 2.0 spec talks about the optional support for JSR-353 (section 10.2.6):

http://jcp.org/en/jsr/detail?id=353

{quote}
10.2.6 Java API for JSON Processing

In a product that supports the Java API for JSON Processing (JSON-P) [15], implementations
MUST support
entity providers for the following types: JsonStructure, JsonObject and JsonArray. Therefore,
the
standard set of entity providers from Section 4.2.4 is extended to support these types in
combinations with
the application/json media type.

Note that other types from the JSON-P API such as JsonParser, JsonGenerator, JsonReader and
JsonWriter can also be integrated into JAX-RS applications using the entity providers for
InputStream
and StreamingOutput.
{quote}

Implementation notes:
[Sergey] I propose we add a related MessageBodyWriter/Reader to rt/rs/extension/providers.

Implemented using JSR-353 reference implementation: https://jsonp.java.net/

  was:
JAX-RS 2.0 spec talks about the optional support for JSR-353 (section 10.2.6):

http://jcp.org/en/jsr/detail?id=353

{quote}
10.2.6 Java API for JSON Processing

In a product that supports the Java API for JSON Processing (JSON-P) [15], implementations
MUST support
entity providers for the following types: JsonStructure, JsonObject and JsonArray. Therefore,
the
standard set of entity providers from Section 4.2.4 is extended to support these types in
combinations with
the application/json media type.

Note that other types from the JSON-P API such as JsonParser, JsonGenerator, JsonReader and
JsonWriter can also be integrated into JAX-RS applications using the entity providers for
InputStream
and StreamingOutput.
{quote}

Implementation notes:
[Sergey] I propose we add a related MessageBodyWriter/Reader to rt/rs/extension/providers.


> Support Java API for JSON Processing
> ------------------------------------
>
>                 Key: CXF-5413
>                 URL: https://issues.apache.org/jira/browse/CXF-5413
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Andriy Redko
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> JAX-RS 2.0 spec talks about the optional support for JSR-353 (section 10.2.6):
> http://jcp.org/en/jsr/detail?id=353
> {quote}
> 10.2.6 Java API for JSON Processing
> In a product that supports the Java API for JSON Processing (JSON-P) [15], implementations
MUST support
> entity providers for the following types: JsonStructure, JsonObject and JsonArray. Therefore,
the
> standard set of entity providers from Section 4.2.4 is extended to support these types
in combinations with
> the application/json media type.
> Note that other types from the JSON-P API such as JsonParser, JsonGenerator, JsonReader
and
> JsonWriter can also be integrated into JAX-RS applications using the entity providers
for InputStream
> and StreamingOutput.
> {quote}
> Implementation notes:
> [Sergey] I propose we add a related MessageBodyWriter/Reader to rt/rs/extension/providers.
> Implemented using JSR-353 reference implementation: https://jsonp.java.net/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message