Java XML and JSON: Document processing for Java SE, Part 2
See the original posting on JavaWorld
In this post, we’ll continue exploring XML and JSON in Java 11 and beyond.
Examples in this post will introduce you to JSON-B, the JSON Binding API for Java. After a quick overview and installation instruction, I’ll show you how to use JSON-B to serialize and deserialize Java objects, arrays, and collections; how to customize serialization and deserialization using JSON-B; and how to use JSON-B adapters to convert source objects to target objects during serialization or deserialization.
The material for this post is completely new, but could be considered an additional chapter (Chapter 13) for my new book, recently published by Apress: Java XML and JSON, Second Edition.