Adam Bien's Weblog

JAX-RS 2.0 comes with a standardized client, which is also capable of object serialization / deserialization from JSON format.
However, a given JSON implementation needs to be registered first. In the sample below the JSON reference implementation (coming with GlassFish v4) is used: