Uses of Class
org.codehaus.jackson.JsonFactory
-
Packages that use JsonFactory Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonParser) instances.org.codehaus.jackson.format Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality.org.codehaus.jackson.map 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 viaObjectMapperclass, as well as convenience methods included inJsonParserorg.codehaus.jackson.smile 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 JsonFactory Modifier and Type Method Description JsonFactoryJsonFactory. configure(JsonGenerator.Feature f, boolean state)Method for enabling or disabling specified generator feature (checkJsonGenerator.Featurefor list of features)JsonFactoryJsonFactory. configure(JsonParser.Feature f, boolean state)Method for enabling or disabling specified parser feature (checkJsonParser.Featurefor list of features)JsonFactoryJsonFactory. disable(JsonGenerator.Feature f)Method for disabling specified generator feature (checkJsonGenerator.Featurefor list of features)JsonFactoryJsonFactory. disable(JsonParser.Feature f)Method for disabling specified parser features (checkJsonParser.Featurefor list of features)JsonFactoryJsonFactory. enable(JsonGenerator.Feature f)Method for enabling specified generator features (checkJsonGenerator.Featurefor list of features)JsonFactoryJsonFactory. enable(JsonParser.Feature f)Method for enabling specified parser feature (checkJsonParser.Featurefor list of features)JsonFactoryJsonFactory. setCharacterEscapes(CharacterEscapes esc)Method for defining custom escapes factory uses forJsonGenerators it creates.JsonFactoryJsonFactory. setCodec(ObjectCodec oc)Method for associating aObjectCodec(typically aObjectMapper) with this factory (and more importantly, parsers and generators it constructs).JsonFactoryJsonFactory. setInputDecorator(InputDecorator d)Method for overriding currently configured input decoratorJsonFactoryJsonFactory. 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 JsonFactory Modifier and Type Field Description protected JsonFactory[]DataFormatDetector. _detectorsOrdered list of factories which both represent data formats to detect (in precedence order, starting with highest) and are used for actual detection.protected JsonFactoryDataFormatMatcher. _matchFactory that produced sufficient match (if any)Methods in org.codehaus.jackson.format that return JsonFactory Modifier and Type Method Description JsonFactoryDataFormatMatcher. getMatch()Accessor forJsonFactorythat represents format that data matched.Methods in org.codehaus.jackson.format with parameters of type JsonFactory Modifier and Type Method Description DataFormatMatcherInputAccessor.Std. createMatcher(JsonFactory match, MatchStrength matchStrength)Constructors in org.codehaus.jackson.format with parameters of type JsonFactory Constructor Description DataFormatDetector(JsonFactory... detectors)DataFormatMatcher(java.io.InputStream in, byte[] buffered, int bufferedLength, JsonFactory match, MatchStrength strength)Constructor parameters in org.codehaus.jackson.format with type arguments of type JsonFactory Constructor Description DataFormatDetector(java.util.Collection<JsonFactory> detectors) -
Uses of JsonFactory in org.codehaus.jackson.map
Subclasses of JsonFactory in org.codehaus.jackson.map Modifier and Type Class Description classMappingJsonFactorySub-class ofJsonFactorythat will create a properObjectCodecto allow seamless conversions between Json content and Java objects (POJOs).Fields in org.codehaus.jackson.map declared as JsonFactory Modifier and Type Field Description protected JsonFactoryObjectMapper. _jsonFactoryFactory used to createJsonParserandJsonGeneratorinstances as necessary.protected JsonFactoryObjectReader. _jsonFactoryFactory used for constructingJsonGeneratorsprotected JsonFactoryObjectWriter. _jsonFactoryFactory used for constructingJsonGeneratorsMethods in org.codehaus.jackson.map that return JsonFactory Modifier and Type Method Description JsonFactoryObjectMapper. getJsonFactory()Method that can be used to get hold ofJsonFactorythat this mapper uses if it needs to constructJsonParsers and/orJsonGenerators.Constructors in org.codehaus.jackson.map with parameters of type JsonFactory Constructor Description ObjectMapper(JsonFactory jf)Construct mapper that uses specifiedJsonFactoryfor constructing necessaryJsonParsers and/orJsonGenerators.ObjectMapper(JsonFactory jf, SerializerProvider sp, DeserializerProvider dp)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.smile Modifier and Type Class Description classSmileFactoryFactory used for constructingSmileParserandSmileGeneratorinstances; both of which handle Smile encoded data.Fields in org.codehaus.jackson.smile declared as JsonFactory Modifier and Type Field Description JsonFactoryTool. jsonFactory
-