[
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.
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
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)