4
JSON Processing and JSON Binding
JavaScript Object Notation (JSON) is a human-readable data interchange format. As its name implies, JSON is derived from JavaScript. Jakarta EE provides support for two different APIs for JSON manipulation, namely Jakarta JSON Processing, which is a lower-level API allowing fine-grained control, and Jakarta JSON Binding, which is a higher-level API that allows us to easily populate Java objects from JSON data, as well as quickly generate JSON-formatted data from Java objects. In this chapter, we will cover both JSON Processing and JSON Binding.
JSON Processing includes two APIs for processing JSON: the Model API and the Streaming API. Both of these APIs will be covered in this chapter. JSON Binding transparently ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access