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 document is produced?
The JSON document produced is 1.
The JSON Binding API provides excellent customization options the allow the default behavior to be configured to suit your use case scenario.
For further information on how to use the new JSON Binding API take a look at my new book Java EE 8: Only What’s New and also you should read the specifications for the Java API for JSON Binding (JSR 367).