Using the Jackson API for processing JSON
Jackson is a multipurpose data processing Java library. The primary capability of this tool is the support for processing JSON. It also has additional modules for processing the data encoded in other popular formats such as Apache Avro (a data serialization system), Concise Binary Object Representation (CBOR)—a binary JSON format, Smile (a binary JSON format), XML, comma-separated values (CSV), and YAML. In this section, we will learn how to use Jackson APIs for processing JSON.
Jackson provides the following three alternative methods for processing JSON:
- Tree model APIs: This method provides APIs for building a tree representation of a JSON document
- Data binding API: This method provides APIs for converting ...
Get RESTful Java Web Services - 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.