Uses of Class
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.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.
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode
), as well as
writing Java Objects and trees as JSON.-
Uses of JsonFactory in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core
Modifier and TypeClassDescriptionclass
TSFBuilder<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.Modifier and TypeMethodDescriptionJsonFactoryBuilder.build()
final JsonFactory
JsonFactory.configure
(JsonFactory.Feature f, boolean state) Deprecated.final 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.copy()
Method for constructing a newJsonFactory
that 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.Feature
for list of features)JsonFactory.disable
(JsonParser.Feature f) Method for disabling specified parser features (checkJsonParser.Feature
for 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.Feature
for list of features)JsonFactory.enable
(JsonParser.Feature f) Method for enabling specified parser feature (checkJsonParser.Feature
for 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 forJsonGenerator
s it creates.JsonFactory.setCodec
(ObjectCodec oc) Method for associating aObjectCodec
(typically aedu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ObjectMapper
) with this factory (and more importantly, parsers and generators it constructs).JsonFactory.setInputDecorator
(InputDecorator d) Deprecated.Since 2.10 useTSFBuilder.inputDecorator(InputDecorator)
insteadJsonFactory.setOutputDecorator
(OutputDecorator d) Deprecated.Since 2.10 useTSFBuilder.outputDecorator(OutputDecorator)
insteadJsonFactory.setRootValueSeparator
(String sep) Method that allows overriding String used for separating root-level JSON values (default is single space character)ModifierConstructorDescriptionprotected
JsonFactory
(JsonFactory src, ObjectCodec codec) Constructor used when copy()ing a factory instance.protected
TSFBuilder
(JsonFactory base) -
Uses of JsonFactory in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.format
Modifier 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)Modifier and TypeMethodDescriptionDataFormatMatcher.getMatch()
Accessor forJsonFactory
that represents format that data matched.Modifier and TypeMethodDescriptionInputAccessor.Std.createMatcher
(JsonFactory match, MatchStrength matchStrength) ModifierConstructorDescriptionDataFormatDetector
(JsonFactory... detectors) protected
DataFormatMatcher
(InputStream in, byte[] buffered, int bufferedStart, int bufferedLength, JsonFactory match, MatchStrength strength) -
Uses of JsonFactory in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
Modifier and TypeClassDescriptionclass
Sub-class ofJsonFactory
that will create a properObjectCodec
to allow seam-less conversions between JSON content and Java objects (POJOs).Modifier and TypeFieldDescriptionprotected final JsonFactory
ObjectWriter._generatorFactory
Factory used for constructingJsonGenerator
sprotected final JsonFactory
ObjectMapper._jsonFactory
Factory used to createJsonParser
andJsonGenerator
instances as necessary.protected final JsonFactory
ObjectReader._parserFactory
Factory used for constructingJsonGenerator
sModifier and TypeMethodDescriptionMappingJsonFactory.copy()
ObjectMapper.getFactory()
ObjectReader.getFactory()
ObjectWriter.getFactory()
ObjectMapper.tokenStreamFactory()
Method that can be used to get hold ofJsonFactory
that this mapper uses if it needs to constructJsonParser
s and/orJsonGenerator
s.Modifier and TypeMethodDescriptionprotected ObjectReader
ObjectReader._new
(ObjectReader base, JsonFactory f) Overridable factory method called by various "withXxx()" methodsprotected ObjectWriter
ObjectWriter._new
(ObjectWriter base, JsonFactory f) Overridable factory method called by various "withXxx()" methodsObjectMapper.copyWith
(JsonFactory factory) Method for creating a newObjectMapper
.final boolean
DeserializationConfig.isEnabled
(JsonParser.Feature f, JsonFactory factory) final boolean
SerializationConfig.isEnabled
(JsonGenerator.Feature f, JsonFactory factory) Accessor method that first checks if we have any overrides for feature, and only if not, checks state of passed-in factory.ObjectReader.with
(JsonFactory f) Method for constructing a new reader instance with configuration that uses passedJsonFactory
for constructing underlying Readers.ObjectWriter.with
(JsonFactory f) ModifierConstructorDescriptionMappingJsonFactory
(JsonFactory src, ObjectMapper mapper) Constructs instance that uses specifiedJsonFactory
for constructing necessaryJsonParser
s and/orJsonGenerator
s.Constructs instance that uses specifiedJsonFactory
for constructing necessaryJsonParser
s and/orJsonGenerator
s, and uses given providers for accessing serializers and deserializers.protected
ObjectMapper
(ObjectMapper src, JsonFactory factory) Copy-constructor, mostly used to supportObjectMapper.copyWith(JsonFactory)
.protected
ObjectReader
(ObjectReader base, JsonFactory f) protected
ObjectWriter
(ObjectWriter base, JsonFactory f) -
Uses of JsonFactory in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.json
Modifier and TypeMethodDescriptionstatic JsonMapper.Builder
JsonMapper.builder
(JsonFactory streamFactory)
TSFBuilder.configure(JsonFactory.Feature, boolean)
instead