O'Reilly logo

RESTful Java Web Services - Second Edition by Jobinesh Purushothaman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required