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, you will learn how to use Jackson APIs to process JSON.
Jackson provides the following three 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 a JSON document into and from Java objects
- Streaming API: This method provides streaming APIs for reading and writing a JSON document
We will...