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

Andriy Redko updated CXF-8343:
------------------------------
    Description: 
As per JAX-RS 2.1 specification:
{noformat}
11.2.7 Java API for JSON Binding

In a product that supports the Java API for JSON Binding (JSON-B) [19], 
implementations MUST support 
entity providers for all Java types supported by JSON-B in combination with the 
following media 
types: application/json, text/json as well as any other media types matching 
*/json or */*+json. 
Note that if JSON-B and JSON-P are both supported in the same environment, 
entity providers for 
JSON-B take precedence over those for JSON-P for all types except JsonValue and 
its sub-types.{noformat}
We already provide JSON-P support via JsrJsonpProvider, adding JsrJsonbProvider 
would complement the specification.

 

  was:
As per JAX-RS 2.1 specification:
{noformat}
11.2.7 Java API for JSON Binding

In a product that supports the Java API for JSON Binding (JSON-B) [19], 
implementations MUST support entity providers for all Java types supported by 
JSON-B in combination with the following media types: application/json, 
text/json as well as any other media types matching */json or */*+json. Note 
that if JSON-B and JSON-P are both supported in the same environment, entity 
providers for JSON-B take precedence over those for JSON-P for all types except 
JsonValue and its sub-types.{noformat}
We already provide JSON-P support via JsrJsonpProvider, adding JsrJsonbProvider 
would complement the specification.

 


> Add JSON-B support
> ------------------
>
>                 Key: CXF-8343
>                 URL: https://issues.apache.org/jira/browse/CXF-8343
>             Project: CXF
>          Issue Type: Task
>    Affects Versions: 3.4.0
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.5.0
>
>
> As per JAX-RS 2.1 specification:
> {noformat}
> 11.2.7 Java API for JSON Binding
> In a product that supports the Java API for JSON Binding (JSON-B) [19], 
> implementations MUST support 
> entity providers for all Java types supported by JSON-B in combination with 
> the following media 
> types: application/json, text/json as well as any other media types matching 
> */json or */*+json. 
> Note that if JSON-B and JSON-P are both supported in the same environment, 
> entity providers for 
> JSON-B take precedence over those for JSON-P for all types except JsonValue 
> and its sub-types.{noformat}
> We already provide JSON-P support via JsrJsonpProvider, adding 
> JsrJsonbProvider would complement the specification.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to