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 ...
Get Jakarta EE Application Development - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.