Jackson Glossary: JsonParser

Role

This is the parser abstraction for Streaming API. It is used not only with regular JSON, but is also used in some cases to add support for JSON-like data formats (like BSON, Smile, even xml), because of its simplicity and fact that Data Binding functionality (like ObjectMapper) is built directly on JsonParser. This means that supporting alternate data formats is easy if data can be exposed using JsonParser and/or JsonGenerator.

Usage

Instances are constructed using JsonFactory.

Sub-types

Most of configuration is by enabling/disabling JsonParser.Feature options.


Back to Jackson Term Glossary


CategoryJackson

JsonParser (last edited 2011-02-25 22:50:59 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC