Processing JSON with Jackson streaming APIs

The Jackson framework supports the streaming API for reading and writing JSON contents. You will use org.codehaus.jackson.JsonParser to read the JSON data and org.codehaus.jackson.JsonGenerator to write the data. The following table lists the important classes in the streaming model API:

Class

Description

com.fasterxml.jackson.core.JsonParser

This class is used for reading the JSON content.

com.fasterxml.jackson.core.JsonGenerator

This class is used for writing the JSON content.

com.fasterxml.jackson.core.JsonFactory

This is the main factory class of the Jackson package. It is used to generate JsonParser and JsonWriter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.157.34