jsr370-experts@jax-rs-spec.java.net

Re: [jax-rs-spec users] Support for JSONB

From: Santiago Pericasgeertsen <santiago.pericasgeertsen_at_oracle.com>
Date: Tue, 30 Jun 2015 12:50:51 -0400

Markus,

 It should be similar to JSONP. This is what the spec says now:

--
10.2.6 Java API for JSON Processing
In a product that supports the Java API for JSON Processing (JSON-P), implementations MUST support entity providers for the following types: JsonStructure, JsonObject and JsonArray. …
—
— Santiago 
> On Jun 30, 2015, at 11:56 AM, Markus KARG <markus_at_headcrashing.eu> wrote:
> 
> Experts,
>  
> on our agenda is support for JSONB, which is a mandatory API of the Java EE umbrella. Hence, in a Java EE environment, JSONB API will be found on the classpath already, and "we" (JAX-RS) can simply use it on that platform. But what happens on Java SE? Must JAX-RS provide JSONB API co-bundled, or can we rely on an application vendor to provide JSONB API on the classpath?
>  
> -Markus