Uses of Class
com.fasterxml.jackson.core.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
(JsonGenerator)
instances.Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
Utility classes used by Jackson Core functionality.
-
Uses of JsonFactory in com.fasterxml.jackson.core
Classes in com.fasterxml.jackson.core with type parameters of type JsonFactoryModifier and TypeClassDescriptionclassTSFBuilder<F extends JsonFactory, B extends TSFBuilder<F,B>> Since 2.10, Builder class is offered for creating token stream factories with difference configurations: with 3.x they will be fully immutable.Subclasses with type arguments of type JsonFactory in com.fasterxml.jackson.coreModifier and TypeClassDescriptionclassTSFBuilderimplementation for constructing vanillaJsonFactoryinstances for reading/writing JSON encoded content.Methods in com.fasterxml.jackson.core that return JsonFactoryModifier and TypeMethodDescriptionJsonFactoryBuilder.build()final JsonFactoryJsonFactory.configure(JsonFactory.Feature f, boolean state) Deprecated.final JsonFactoryJsonFactory.configure(JsonGenerator.Feature f, boolean state) Method for enabling or disabling specified generator feature (checkJsonGenerator.Featurefor list of features)final JsonFactoryJsonFactory.configure(JsonParser.Feature f, boolean state) Method for enabling or disabling specified parser feature (checkJsonParser.Featurefor list of features)JsonFactory.copy()Method for constructing a newJsonFactorythat has the same settings as this instance, but is otherwise independent (i.e.JsonFactory.disable(JsonFactory.Feature f) Deprecated.since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)insteadJsonFactory.disable(JsonGenerator.Feature f) Method for disabling specified generator feature (checkJsonGenerator.Featurefor list of features)JsonFactory.disable(JsonParser.Feature f) Method for disabling specified parser features (checkJsonParser.Featurefor list of features)JsonFactory.enable(JsonFactory.Feature f) Deprecated.since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)insteadJsonFactory.enable(JsonGenerator.Feature f) Method for enabling specified generator features (checkJsonGenerator.Featurefor list of features)JsonFactory.enable(JsonParser.Feature f) Method for enabling specified parser feature (checkJsonParser.Featurefor list of features)ObjectCodec.getFactory()Accessor for finding underlying data format factory (JsonFactory) codec will use for data binding.ObjectCodec.getJsonFactory()Deprecated.UseObjectCodec.getFactory()instead.JsonFactory.setCharacterEscapes(CharacterEscapes esc) Method for defining custom escapes factory uses forJsonGenerators it creates.JsonFactory.setCodec(ObjectCodec oc) Method for associating aObjectCodec(typically acom.fasterxml.jackson.databind.ObjectMapper) with this factory (and more importantly, parsers and generators it constructs).JsonFactory.setErrorReportConfiguration(ErrorReportConfiguration src) Method for overridingErrorReportConfigurationdefined for this factory.JsonFactory.setInputDecorator(InputDecorator d) Deprecated.Since 2.10 useTSFBuilder.inputDecorator(InputDecorator)insteadJsonFactory.setOutputDecorator(OutputDecorator d) Deprecated.Since 2.10 useTSFBuilder.outputDecorator(OutputDecorator)insteadJsonFactory.setRecyclerPool(RecyclerPool<BufferRecycler> p) JsonFactory.setRootValueSeparator(String sep) Method that allows overriding String used for separating root-level JSON values (default is single space character)JsonFactory.setStreamReadConstraints(StreamReadConstraints src) Method for overridingStreamReadConstraintsdefined for this factory.JsonFactory.setStreamWriteConstraints(StreamWriteConstraints swc) Method for overridingStreamWriteConstraintsdefined for this factory.Constructors in com.fasterxml.jackson.core with parameters of type JsonFactoryModifierConstructorDescriptionprotectedJsonFactory(JsonFactory src, ObjectCodec codec) Constructor used when copy()ing a factory instance.protectedTSFBuilder(JsonFactory base) -
Uses of JsonFactory in com.fasterxml.jackson.core.format
Fields in com.fasterxml.jackson.core.format declared as JsonFactoryModifier and TypeFieldDescriptionprotected final 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 final JsonFactoryDataFormatMatcher._matchFactory that produced sufficient match (if any)Methods in com.fasterxml.jackson.core.format that return JsonFactoryModifier and TypeMethodDescriptionDataFormatMatcher.getMatch()Accessor forJsonFactorythat represents format that data matched.Methods in com.fasterxml.jackson.core.format with parameters of type JsonFactoryModifier and TypeMethodDescriptionInputAccessor.Std.createMatcher(JsonFactory match, MatchStrength matchStrength) Constructors in com.fasterxml.jackson.core.format with parameters of type JsonFactoryModifierConstructorDescriptionDataFormatDetector(JsonFactory... detectors) protectedDataFormatMatcher(InputStream in, byte[] buffered, int bufferedStart, int bufferedLength, JsonFactory match, MatchStrength strength) Constructor parameters in com.fasterxml.jackson.core.format with type arguments of type JsonFactory -
Uses of JsonFactory in com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util with parameters of type JsonFactoryModifier and TypeMethodDescriptionJsonGeneratorDecorator.decorate(JsonFactory factory, JsonGenerator generator) Allow to decorateJsonGeneratorinstances returned byJsonFactory.
TSFBuilder.configure(JsonFactory.Feature, boolean)instead