Features for configuring low-level JSON writing

Following on/off features are defined in JsonGenerator.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 generators factory creates) and for individual JsonGenerators if not otherwise mentioned below.

Support for writing non-standard "JSON"

By default Jackson conforms strictly to JSON specification. But since there are unfortunate cases where it may be necessary to produce non-standard JSON(-like) content, there exists limited number of features for producing non-standard content:

See Also


JacksonFeaturesGenerator (last edited 2011-02-22 07:47:55 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC