Features for configuring low-level parsing

Following on/off features are defined in JsonParser.Feature: (note: disabled/enabled in parenthesis indicates default state of the feature if no explicit calls are made).

All features can be enabled either for JsonFactory (to determine default state for parsers factory creates) and for individual JsonParsers, unless specified otherwise.

Support for parsing non-standard "JSON"

By default Jackson conforms strictly to JSON specification. But because non-standard JSON(-like) content does exist in the wild (and regrettably in large quantities), Jackson does have set of features to support parsing of such non-standard content:

Users should only enable these features if they understand ramifications of supporting non-valid content, and at least not produce any such content, just consume (that is: always write valid JSON).

See Also


CategoryJackson

JacksonFeaturesParser (last edited 2011-03-30 04:45:37 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC