Uses of Class
org.codehaus.jackson.JsonFactory
Packages that use JsonFactory
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser
)
and generator
(JsonParser
)
instances.Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper
class, as well
as convenience methods included in
JsonParser
Package that contains experimental implementation of
"Binary-Encoded JSON-Like" data format handlers (parser,
generator, factory produce both, supporting constants).
-
Uses of JsonFactory in org.codehaus.jackson
Methods in org.codehaus.jackson that return JsonFactoryModifier and TypeMethodDescriptionfinal JsonFactory
JsonFactory.configure
(JsonGenerator.Feature f, boolean state) Method for enabling or disabling specified generator feature (checkJsonGenerator.Feature
for list of features)final JsonFactory
JsonFactory.configure
(JsonParser.Feature f, boolean state) Method for enabling or disabling specified parser feature (checkJsonParser.Feature
for list of features)JsonFactory.disable
(JsonGenerator.Feature f) Method for disabling specified generator feature (checkJsonGenerator.Feature
for list of features)JsonFactory.disable
(JsonParser.Feature f) Method for disabling specified parser features (checkJsonParser.Feature
for list of features)JsonFactory.enable
(JsonGenerator.Feature f) Method for enabling specified generator features (checkJsonGenerator.Feature
for list of features)JsonFactory.enable
(JsonParser.Feature f) Method for enabling specified parser feature (checkJsonParser.Feature
for list of features)JsonFactory.setCharacterEscapes
(CharacterEscapes esc) Method for defining custom escapes factory uses forJsonGenerator
s it creates.JsonFactory.setCodec
(ObjectCodec oc) Method for associating aObjectCodec
(typically aObjectMapper
) with this factory (and more importantly, parsers and generators it constructs).JsonFactory.setInputDecorator
(InputDecorator d) Method for overriding currently configured input decoratorJsonFactory.setOutputDecorator
(OutputDecorator d) Method for overriding currently configured output decorator -
Uses of JsonFactory in org.codehaus.jackson.format
Fields in org.codehaus.jackson.format declared as JsonFactoryModifier and TypeFieldDescriptionprotected final JsonFactory[]
DataFormatDetector._detectors
Ordered list of factories which both represent data formats to detect (in precedence order, starting with highest) and are used for actual detection.protected final JsonFactory
DataFormatMatcher._match
Factory that produced sufficient match (if any)Methods in org.codehaus.jackson.format that return JsonFactoryModifier and TypeMethodDescriptionDataFormatMatcher.getMatch()
Accessor forJsonFactory
that represents format that data matched.Methods in org.codehaus.jackson.format with parameters of type JsonFactoryModifier and TypeMethodDescriptionInputAccessor.Std.createMatcher
(JsonFactory match, MatchStrength matchStrength) Constructors in org.codehaus.jackson.format with parameters of type JsonFactoryModifierConstructorDescriptionDataFormatDetector
(JsonFactory... detectors) protected
DataFormatMatcher
(InputStream in, byte[] buffered, int bufferedLength, JsonFactory match, MatchStrength strength) Constructor parameters in org.codehaus.jackson.format with type arguments of type JsonFactory -
Uses of JsonFactory in org.codehaus.jackson.map
Subclasses of JsonFactory in org.codehaus.jackson.mapModifier and TypeClassDescriptionclass
Sub-class ofJsonFactory
that will create a properObjectCodec
to allow seamless conversions between Json content and Java objects (POJOs).Fields in org.codehaus.jackson.map declared as JsonFactoryModifier and TypeFieldDescriptionprotected final JsonFactory
ObjectMapper._jsonFactory
Factory used to createJsonParser
andJsonGenerator
instances as necessary.protected final JsonFactory
ObjectReader._jsonFactory
Factory used for constructingJsonGenerator
sprotected final JsonFactory
ObjectWriter._jsonFactory
Factory used for constructingJsonGenerator
sMethods in org.codehaus.jackson.map that return JsonFactoryModifier and TypeMethodDescriptionObjectMapper.getJsonFactory()
Method that can be used to get hold ofJsonFactory
that this mapper uses if it needs to constructJsonParser
s and/orJsonGenerator
s.Constructors in org.codehaus.jackson.map with parameters of type JsonFactoryModifierConstructorDescriptionConstruct mapper that uses specifiedJsonFactory
for constructing necessaryJsonParser
s and/orJsonGenerator
s.ObjectMapper
(JsonFactory jf, SerializerProvider sp, DeserializerProvider dp, SerializationConfig sconfig, DeserializationConfig dconfig) -
Uses of JsonFactory in org.codehaus.jackson.smile
Subclasses of JsonFactory in org.codehaus.jackson.smileModifier and TypeClassDescriptionclass
Factory used for constructingSmileParser
andSmileGenerator
instances; both of which handle Smile encoded data.Fields in org.codehaus.jackson.smile declared as JsonFactory