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