The most advanced way to customize JSON Binding is with custom serializers and deserializers. JSON-B serializers and deserializers are the lowest level of customisation [...]
An adapter configures custom object creation and serialization by implementing the JsonbAdapter interface. The methods adaptToJson() and adaptFromJson() are overwritten with [...]
Let’s take a look at how JSON Binding handles custom object creation. Next article in this series covers customization of JSON-B with adapters. JSON-B expects all classes [...]
Let’s take a look at how the annotation model and runtime configuration work when customizing the JSON Binding serialization and deserialization processes. Next [...]
The Java API for JSON Binding (JSON-B) 1.0 strengthens the Java EE platform’s overall support for the JSON data interchange format. Already, the Java API for JSON [...]
My new book Java EE 8: Only What’s New covers all the new features of Java EE 8 and explains each one with code examples. Let’s have a look at some of the [...]
JSON-B 1.0 Challenge JSON Binding allows fine grain control over the order in which JSON properties appear. Runtime and compile customization can be used to control this [...]
JSON-B 1.0 Challenge JSON Binding allows fine grain control over the format of the JSON document. Given an instance of the Book class and the JSON Binding code, which JSON [...]