Uses of Class
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonGenerator
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.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
Package for some of
JsonProcessingException
subtypes contained by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Utility classes used by Jackson Core 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.Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Contains concrete
JsonNode
implementations
Jackson uses for the Tree model.Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core
Modifier and TypeMethodDescriptionprotected JsonGenerator
JsonFactory._createGenerator
(Writer out, IOContext ctxt) Overridable factory method that actually instantiates generator for givenWriter
and context object.protected JsonGenerator
JsonFactory._createUTF8Generator
(OutputStream out, IOContext ctxt) Overridable factory method that actually instantiates generator for givenOutputStream
and context object, using UTF-8 encoding.final JsonGenerator
JsonGenerator.configure
(JsonGenerator.Feature f, boolean state) Method for enabling or disabling specified feature: checkJsonGenerator.Feature
for list of available features.JsonFactory.createGenerator
(DataOutput out) Convenience method for constructing generator that uses default encoding of the format (UTF-8 for JSON and most other data formats).JsonFactory.createGenerator
(DataOutput out, JsonEncoding enc) Method for constructing generator for writing content using specifiedDataOutput
instance.JsonFactory.createGenerator
(File f, JsonEncoding enc) Method for constructing JSON generator for writing JSON content to specified file, overwriting contents it might have (or creating it if such file does not yet exist).JsonFactory.createGenerator
(OutputStream out) Convenience method for constructing generator that uses default encoding of the format (UTF-8 for JSON and most other data formats).JsonFactory.createGenerator
(OutputStream out, JsonEncoding enc) Method for constructing JSON generator for writing JSON content using specified output stream.JsonFactory.createGenerator
(Writer w) Method for constructing JSON generator for writing JSON content using specified Writer.abstract JsonGenerator
TokenStreamFactory.createGenerator
(DataOutput out) abstract JsonGenerator
TokenStreamFactory.createGenerator
(DataOutput out, JsonEncoding enc) abstract JsonGenerator
TokenStreamFactory.createGenerator
(File f, JsonEncoding enc) abstract JsonGenerator
TokenStreamFactory.createGenerator
(OutputStream out) abstract JsonGenerator
TokenStreamFactory.createGenerator
(OutputStream out, JsonEncoding enc) abstract JsonGenerator
TokenStreamFactory.createGenerator
(Writer w) JsonFactory.createJsonGenerator
(OutputStream out) Deprecated.JsonFactory.createJsonGenerator
(OutputStream out, JsonEncoding enc) Deprecated.Since 2.2, useJsonFactory.createGenerator(OutputStream, JsonEncoding)
instead.JsonFactory.createJsonGenerator
(Writer out) Deprecated.Since 2.2, useJsonFactory.createGenerator(Writer)
instead.abstract JsonGenerator
JsonGenerator.disable
(JsonGenerator.Feature f) Method for disabling specified feature (checkJsonGenerator.Feature
for list of features)abstract JsonGenerator
JsonGenerator.enable
(JsonGenerator.Feature f) Method for enabling specified generator feature: checkJsonGenerator.Feature
for list of available features.JsonGenerationException.getProcessor()
JsonGenerator.overrideFormatFeatures
(int values, int mask) Bulk set method for (re)setting states ofFormatFeature
s, by specifying values (set / clear) along with a mask, to determine which features to change, if any.JsonGenerator.overrideStdFeatures
(int values, int mask) Bulk set method for (re)setting states of features specified bymask
.JsonGenerator.setCharacterEscapes
(CharacterEscapes esc) Method for defining custom escapes factory uses forJsonGenerator
s it creates.abstract JsonGenerator
JsonGenerator.setCodec
(ObjectCodec oc) Method that can be called to set or reset the object to use for writing Java objects as JsonContent (using methodwriteObject(java.lang.Object)
).abstract JsonGenerator
JsonGenerator.setFeatureMask
(int values) Deprecated.Since 2.7, useoverrideStdFeatures(int, int)
instead -- remove from 2.9JsonGenerator.setHighestNonEscapedChar
(int charCode) Method that can be called to request that generator escapes all character codes above specified code point (if positive value); or, to not escape any characters except for ones that must be escaped for the data format (if -1).JsonGenerator.setPrettyPrinter
(PrettyPrinter pp) Method for setting a custom pretty printer, which is usually used to add indentation for improved human readability.JsonGenerator.setRootValueSeparator
(SerializableString sep) Method that allows overriding String used for separating root-level JSON values (default is single space character)abstract JsonGenerator
JsonGenerator.useDefaultPrettyPrinter()
Convenience method for enabling pretty-printing using the default pretty printer (DefaultPrettyPrinter
).Modifier and TypeMethodDescriptionvoid
PrettyPrinter.beforeArrayValues
(JsonGenerator gen) Method called after array start marker has been output, and right before the first value is to be output.void
PrettyPrinter.beforeObjectEntries
(JsonGenerator gen) Method called after object start marker has been output, and right before the field name of the first entry is to be output.JsonGenerationException.withGenerator
(JsonGenerator g) Fluent method that may be used to assign originatingJsonGenerator
, to be accessed usingJsonGenerationException.getProcessor()
.void
PrettyPrinter.writeArrayValueSeparator
(JsonGenerator gen) Method called after an array value has been completely output, and before another value is to be output.void
PrettyPrinter.writeEndArray
(JsonGenerator gen, int nrOfValues) Method called after an Array value has been completely output (minus closing bracket).void
PrettyPrinter.writeEndObject
(JsonGenerator gen, int nrOfEntries) Method called after an Object value has been completely output (minus closing curly bracket).void
PrettyPrinter.writeObjectEntrySeparator
(JsonGenerator gen) Method called after an Object entry (field:value) has been completely output, and before another value is to be output.void
PrettyPrinter.writeObjectFieldValueSeparator
(JsonGenerator gen) Method called after an object field has been output, but before the value is output.void
PrettyPrinter.writeRootValueSeparator
(JsonGenerator gen) Method called after a root-level value has been completely output, and before another value is to be output.void
PrettyPrinter.writeStartArray
(JsonGenerator gen) Method called when an Array value is to be output, before any member/child values are output.void
PrettyPrinter.writeStartObject
(JsonGenerator gen) Method called when an Object value is to be output, before any fields are output.abstract void
ObjectCodec.writeTree
(JsonGenerator gen, TreeNode tree) Method for serializing JSON content from given Tree instance, using specified generator.abstract void
TreeCodec.writeTree
(JsonGenerator g, TreeNode tree) abstract void
ObjectCodec.writeValue
(JsonGenerator gen, Object value) Method to serialize given Java Object, using generator provided.ModifierConstructorDescriptionJsonGenerationException
(String msg, Throwable rootCause, JsonGenerator g) JsonGenerationException
(Throwable rootCause, JsonGenerator g) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.base
Modifier and TypeClassDescriptionclass
This base class implements part of API that a JSON generator exposes to applications, adds shared internal methods that sub-classes can use and adds some abstract methods sub-classes must implement.Modifier and TypeMethodDescriptionGeneratorBase.disable
(JsonGenerator.Feature f) GeneratorBase.enable
(JsonGenerator.Feature f) GeneratorBase.overrideStdFeatures
(int values, int mask) GeneratorBase.setCodec
(ObjectCodec oc) GeneratorBase.setFeatureMask
(int newMask) Deprecated.GeneratorBase.useDefaultPrettyPrinter()
-
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.exc
Modifier and TypeMethodDescriptionabstract StreamWriteException
StreamWriteException.withGenerator
(JsonGenerator g) Fluent method that may be used to assign originatingJsonGenerator
, to be accessed usingStreamWriteException.getProcessor()
.ModifierConstructorDescriptionprotected
StreamWriteException
(String msg, JsonGenerator g) protected
StreamWriteException
(String msg, Throwable rootCause, JsonGenerator g) protected
StreamWriteException
(Throwable rootCause, JsonGenerator g) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.filter
Modifier and TypeClassDescriptionclass
SpecializedJsonGeneratorDelegate
that allows use ofTokenFilter
for outputting a subset of content that caller tries to generate.Modifier and TypeMethodDescriptionTokenFilterContext.closeArray
(JsonGenerator gen) TokenFilterContext.closeObject
(JsonGenerator gen) void
TokenFilterContext.ensureFieldNameWritten
(JsonGenerator gen) Method called to ensure that field name, if present, has been written; may result (but does not always) in a call using given generatorvoid
TokenFilterContext.writePath
(JsonGenerator gen) Method called to ensure that parent path from root is written up to and including this node.ModifierConstructorDescriptionFilteringGeneratorDelegate
(JsonGenerator d, TokenFilter f, boolean includePath, boolean allowMultipleMatches) Deprecated.since 2.12 Use the constructor that takesTokenFilter.Inclusion
argument instead.FilteringGeneratorDelegate
(JsonGenerator d, TokenFilter f, TokenFilter.Inclusion inclusion, boolean allowMultipleMatches) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.json
Modifier and TypeClassDescriptionclass
Intermediate base class shared by JSON-backed generators likeUTF8JsonGenerator
andWriterBasedJsonGenerator
.class
class
JsonGenerator
that outputs JSON content using aWriter
which handles character encoding.Modifier and TypeMethodDescriptionJsonGeneratorImpl.disable
(JsonGenerator.Feature f) JsonGeneratorImpl.enable
(JsonGenerator.Feature f) JsonGeneratorImpl.setCharacterEscapes
(CharacterEscapes esc) JsonGeneratorImpl.setHighestNonEscapedChar
(int charCode) JsonGeneratorImpl.setRootValueSeparator
(SerializableString sep) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.util
Modifier and TypeFieldDescriptionprotected JsonGenerator
JsonGeneratorDelegate.delegate
Delegate object that method calls are delegated to.Modifier and TypeMethodDescriptionJsonGeneratorDelegate.delegate()
JsonGeneratorDelegate.disable
(JsonGenerator.Feature f) JsonGeneratorDelegate.enable
(JsonGenerator.Feature f) JsonGeneratorDelegate.getDelegate()
Deprecated.JsonGeneratorDelegate.overrideFormatFeatures
(int values, int mask) JsonGeneratorDelegate.overrideStdFeatures
(int values, int mask) JsonGeneratorDelegate.setCharacterEscapes
(CharacterEscapes esc) JsonGeneratorDelegate.setCodec
(ObjectCodec oc) JsonGeneratorDelegate.setFeatureMask
(int mask) Deprecated.JsonGeneratorDelegate.setHighestNonEscapedChar
(int charCode) JsonGeneratorDelegate.setPrettyPrinter
(PrettyPrinter pp) JsonGeneratorDelegate.setRootValueSeparator
(SerializableString sep) JsonGeneratorDelegate.useDefaultPrettyPrinter()
Modifier and TypeMethodDescriptionvoid
DefaultPrettyPrinter.beforeArrayValues
(JsonGenerator g) void
MinimalPrettyPrinter.beforeArrayValues
(JsonGenerator g) void
DefaultPrettyPrinter.beforeObjectEntries
(JsonGenerator g) void
MinimalPrettyPrinter.beforeObjectEntries
(JsonGenerator g) void
DefaultPrettyPrinter.writeArrayValueSeparator
(JsonGenerator g) Method called after an array value has been completely output, and before another value is to be output.void
MinimalPrettyPrinter.writeArrayValueSeparator
(JsonGenerator g) Method called after an array value has been completely output, and before another value is to be output.void
DefaultPrettyPrinter.writeEndArray
(JsonGenerator g, int nrOfValues) void
MinimalPrettyPrinter.writeEndArray
(JsonGenerator g, int nrOfValues) void
DefaultPrettyPrinter.writeEndObject
(JsonGenerator g, int nrOfEntries) void
MinimalPrettyPrinter.writeEndObject
(JsonGenerator g, int nrOfEntries) void
DefaultIndenter.writeIndentation
(JsonGenerator jg, int level) void
DefaultPrettyPrinter.FixedSpaceIndenter.writeIndentation
(JsonGenerator g, int level) void
DefaultPrettyPrinter.Indenter.writeIndentation
(JsonGenerator g, int level) void
DefaultPrettyPrinter.NopIndenter.writeIndentation
(JsonGenerator g, int level) void
DefaultPrettyPrinter.writeObjectEntrySeparator
(JsonGenerator g) Method called after an object entry (field:value) has been completely output, and before another value is to be output.void
MinimalPrettyPrinter.writeObjectEntrySeparator
(JsonGenerator g) Method called after an object entry (field:value) has been completely output, and before another value is to be output.void
DefaultPrettyPrinter.writeObjectFieldValueSeparator
(JsonGenerator g) Method called after an object field has been output, but before the value is output.void
MinimalPrettyPrinter.writeObjectFieldValueSeparator
(JsonGenerator g) Method called after an object field has been output, but before the value is output.void
DefaultPrettyPrinter.writeRootValueSeparator
(JsonGenerator g) void
MinimalPrettyPrinter.writeRootValueSeparator
(JsonGenerator g) void
DefaultPrettyPrinter.writeStartArray
(JsonGenerator g) void
MinimalPrettyPrinter.writeStartArray
(JsonGenerator g) void
DefaultPrettyPrinter.writeStartObject
(JsonGenerator g) void
MinimalPrettyPrinter.writeStartObject
(JsonGenerator g) ModifierConstructorDescriptionJsonGeneratorDelegate
(JsonGenerator d, boolean delegateCopyMethods) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
Modifier and TypeMethodDescriptionprotected final JsonGenerator
ObjectWriter._configureGenerator
(JsonGenerator gen) Helper method called to set or override settings of passed-inJsonGenerator
ObjectMapper.createGenerator
(DataOutput out) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedDataOutput
.ObjectMapper.createGenerator
(File outputFile, JsonEncoding enc) Factory method for constructing properly initializedJsonGenerator
to write content to specifiedFile
, using specified encoding.ObjectMapper.createGenerator
(OutputStream out) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedOutputStream
.ObjectMapper.createGenerator
(OutputStream out, JsonEncoding enc) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedOutputStream
and encoding.ObjectMapper.createGenerator
(Writer w) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedWriter
.ObjectWriter.createGenerator
(DataOutput out) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedDataOutput
.ObjectWriter.createGenerator
(File outputFile, JsonEncoding enc) Factory method for constructing properly initializedJsonGenerator
to write content to specifiedFile
, using specified encoding.ObjectWriter.createGenerator
(OutputStream out) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedOutputStream
.ObjectWriter.createGenerator
(OutputStream out, JsonEncoding enc) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedOutputStream
and encoding.ObjectWriter.createGenerator
(Writer w) Factory method for constructing properly initializedJsonGenerator
to write content using specifiedWriter
.SerializerProvider.getGenerator()
NOTE: current implementation simply returns `null` as generator is not yet assigned to this provider.Modifier and TypeMethodDescriptionprotected final void
ObjectMapper._configAndWriteValue
(JsonGenerator g, Object value) Deprecated.protected final JsonGenerator
ObjectWriter._configureGenerator
(JsonGenerator gen) Helper method called to set or override settings of passed-inJsonGenerator
protected SequenceWriter
ObjectWriter._newSequenceWriter
(boolean wrapInArray, JsonGenerator gen, boolean managedInput) Overridable factory method called byObjectWriter.writeValues(OutputStream)
method (and its various overrides), and initializes it as necessary.protected final void
ObjectMapper._writeValueAndClose
(JsonGenerator g, Object value) Method called to configure the generator as necessary and then call write functionalityprotected final void
ObjectWriter._writeValueAndClose
(JsonGenerator gen, Object value) Method called to configure the generator as necessary and then call write functionalityvoid
SerializerProvider.defaultSerializeDateKey
(long timestamp, JsonGenerator gen) Method that will handle serialization of Dates used asMap
keys, based onSerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS
value (and if using textual representation, configured date format)void
SerializerProvider.defaultSerializeDateKey
(Date date, JsonGenerator gen) Method that will handle serialization of Dates used asMap
keys, based onSerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS
value (and if using textual representation, configured date format)final void
SerializerProvider.defaultSerializeDateValue
(long timestamp, JsonGenerator gen) Method that will handle serialization of Date(-like) values, usingSerializationConfig
settings to determine expected serialization behavior.final void
SerializerProvider.defaultSerializeDateValue
(Date date, JsonGenerator gen) Method that will handle serialization of Date(-like) values, usingSerializationConfig
settings to determine expected serialization behavior.final void
SerializerProvider.defaultSerializeField
(String fieldName, Object value, JsonGenerator gen) Convenience method that will serialize given field with specified value.final void
SerializerProvider.defaultSerializeNull
(JsonGenerator gen) final void
SerializerProvider.defaultSerializeValue
(Object value, JsonGenerator gen) Convenience method that will serialize given value (which can be null) using standard serializer locating functionality.static JsonMappingException
JsonMappingException.from
(JsonGenerator g, String msg) static JsonMappingException
JsonMappingException.from
(JsonGenerator g, String msg, Throwable problem) void
ObjectWriter.GeneratorSettings.initialize
(JsonGenerator gen) void
SerializationConfig.initialize
(JsonGenerator g) Method called byObjectMapper
andObjectWriter
to modify thoseJsonGenerator.Feature
settings that have been configured via this config instance.void
JsonSerializable.serialize
(JsonGenerator gen, SerializerProvider serializers) Serialization method called when no additional type information is to be included in serialization.abstract void
JsonSerializer.serialize
(T value, JsonGenerator gen, SerializerProvider serializers) Method that can be called to ask implementation to serialize values of type this serializer handles.void
ObjectWriter.Prefetch.serialize
(JsonGenerator gen, Object value, DefaultSerializerProvider prov) void
JsonSerializable.serializeWithType
(JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer) Serialization method called when additional type information is expected to be included in serialization, for deserialization to use.void
JsonSerializer.serializeWithType
(T value, JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer) Method that can be called to ask implementation to serialize values of type this serializer handles, using specified type serializer for embedding necessary type information.void
ObjectMapper.writeTree
(JsonGenerator g, TreeNode rootNode) void
ObjectMapper.writeTree
(JsonGenerator g, JsonNode rootNode) Method to serialize given JSON Tree, using generator provided.void
ObjectReader.writeTree
(JsonGenerator g, TreeNode rootNode) void
ObjectMapper.writeValue
(JsonGenerator g, Object value) Method that can be used to serialize any Java value as JSON output, using providedJsonGenerator
.void
ObjectReader.writeValue
(JsonGenerator gen, Object value) void
ObjectWriter.writeValue
(JsonGenerator g, Object value) Method that can be used to serialize any Java value as JSON output, using providedJsonGenerator
.ObjectWriter.writeValues
(JsonGenerator g) Method for creating aSequenceWriter
to write a sequence of root values using configuration of thisObjectWriter
.ObjectWriter.writeValuesAsArray
(JsonGenerator gen) Method for creating aSequenceWriter
to write an array of root-level values, using configuration of thisObjectWriter
.ModifierConstructorDescriptionSequenceWriter
(DefaultSerializerProvider prov, JsonGenerator gen, boolean closeGenerator, ObjectWriter.Prefetch prefetch) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc
Modifier and TypeMethodDescriptionstatic InvalidDefinitionException
InvalidDefinitionException.from
(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionException
InvalidDefinitionException.from
(JsonGenerator g, String msg, JavaType type) ModifierConstructorDescriptionprotected
InvalidDefinitionException
(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) protected
InvalidDefinitionException
(JsonGenerator g, String msg, JavaType type) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ext
Modifier and TypeMethodDescriptionprotected void
SqlBlobSerializer._writeValue
(Blob value, JsonGenerator gen, SerializerProvider ctxt) void
CoreXMLSerializers.XMLGregorianCalendarSerializer.serialize
(XMLGregorianCalendar value, JsonGenerator gen, SerializerProvider provider) void
DOMSerializer.serialize
(Node value, JsonGenerator g, SerializerProvider provider) void
NioPathSerializer.serialize
(Path value, JsonGenerator gen, SerializerProvider serializers) void
SqlBlobSerializer.serialize
(Blob value, JsonGenerator gen, SerializerProvider ctxt) void
CoreXMLSerializers.XMLGregorianCalendarSerializer.serializeWithType
(XMLGregorianCalendar value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
NioPathSerializer.serializeWithType
(Path value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
SqlBlobSerializer.serializeWithType
(Blob value, JsonGenerator gen, SerializerProvider ctxt, TypeSerializer typeSer) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsontype
Modifier and TypeMethodDescriptionprotected final void
TypeSerializer._writeLegacySuffix
(JsonGenerator g, WritableTypeId typeId) Helper method needed for backwards compatibility: since original type id can not be routed through completely, we have to reverse-engineer likely setting before calling suffix.void
TypeSerializer.writeCustomTypePrefixForArray
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeCustomTypePrefixForObject
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeCustomTypePrefixForScalar
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeCustomTypeSuffixForArray
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeCustomTypeSuffixForObject
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeCustomTypeSuffixForScalar
(Object value, JsonGenerator g, String typeId) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadabstract WritableTypeId
TypeSerializer.writeTypePrefix
(JsonGenerator g, WritableTypeId typeId) Method called to write initial part of type information for given value, along with possible wrapping to use: details are specified by `typeId` argument.void
TypeSerializer.writeTypePrefixForArray
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypePrefixForArray
(Object value, JsonGenerator g, Class<?> type) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypePrefixForObject
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypePrefixForObject
(Object value, JsonGenerator g, Class<?> type) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypePrefixForScalar
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypePrefixForScalar
(Object value, JsonGenerator g, Class<?> type) Deprecated.Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadabstract WritableTypeId
TypeSerializer.writeTypeSuffix
(JsonGenerator g, WritableTypeId typeId) Method that should be called afterTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
and matching value write have been called, passingWritableTypeId
returned.void
TypeSerializer.writeTypeSuffixForArray
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypeSuffixForObject
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadvoid
TypeSerializer.writeTypeSuffixForScalar
(Object value, JsonGenerator g) Deprecated.Since 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsontype.impl
Modifier and TypeMethodDescriptionprotected final void
AsExternalTypeSerializer._writeArrayPrefix
(Object value, JsonGenerator g) protected final void
AsExternalTypeSerializer._writeArraySuffix
(Object value, JsonGenerator g, String typeId) protected final void
AsExternalTypeSerializer._writeObjectPrefix
(Object value, JsonGenerator g) protected final void
AsExternalTypeSerializer._writeObjectSuffix
(Object value, JsonGenerator g, String typeId) protected final void
AsExternalTypeSerializer._writeScalarPrefix
(Object value, JsonGenerator g) protected final void
AsExternalTypeSerializer._writeScalarSuffix
(Object value, JsonGenerator g, String typeId) protected final void
AsWrapperTypeSerializer._writeTypeId
(JsonGenerator g, String typeId) AsDeductionTypeSerializer.writeTypePrefix
(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypePrefix
(JsonGenerator g, WritableTypeId idMetadata) AsDeductionTypeSerializer.writeTypeSuffix
(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypeSuffix
(JsonGenerator g, WritableTypeId idMetadata) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.node
Modifier and TypeMethodDescriptionvoid
ArrayNode.serialize
(JsonGenerator g, SerializerProvider provider) abstract void
BaseJsonNode.serialize
(JsonGenerator g, SerializerProvider ctxt) Method called to serialize node instances using given generator.final void
BigIntegerNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
BinaryNode.serialize
(JsonGenerator jg, SerializerProvider provider) final void
BooleanNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
DecimalNode.serialize
(JsonGenerator jgen, SerializerProvider provider) final void
DoubleNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
FloatNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
IntNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
LongNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
MissingNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
NullNode.serialize
(JsonGenerator g, SerializerProvider provider) void
ObjectNode.serialize
(JsonGenerator g, SerializerProvider provider) Method that can be called to serialize this node and all of its descendants using specified JSON generator.final void
POJONode.serialize
(JsonGenerator gen, SerializerProvider ctxt) final void
ShortNode.serialize
(JsonGenerator g, SerializerProvider provider) final void
TextNode.serialize
(JsonGenerator g, SerializerProvider provider) protected void
ObjectNode.serializeFilteredContents
(JsonGenerator g, SerializerProvider provider, boolean trimEmptyArray, boolean skipNulls) Helper method shared and called byObjectNode.serialize(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonGenerator, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializerProvider)
andObjectNode.serializeWithType(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonGenerator, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializerProvider, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsontype.TypeSerializer)
in cases where actual filtering is needed based on configuration.void
ArrayNode.serializeWithType
(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) abstract void
BaseJsonNode.serializeWithType
(JsonGenerator g, SerializerProvider ctxt, TypeSerializer typeSer) Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types.void
MissingNode.serializeWithType
(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
ObjectNode.serializeWithType
(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
ValueNode.serializeWithType
(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser
Modifier and TypeFieldDescriptionprotected JsonGenerator
DefaultSerializerProvider._generator
Generator used for serialization.Modifier and TypeMethodDescriptionDefaultSerializerProvider.getGenerator()
Accessor for theJsonGenerator
currently in use for serializing content.Modifier and TypeMethodDescriptionprotected boolean
BeanPropertyWriter._handleSelfReference
(Object bean, JsonGenerator gen, SerializerProvider prov, JsonSerializer<?> ser) Method called to handle a direct self-reference through this property.protected void
DefaultSerializerProvider._serializeNull
(JsonGenerator gen) Helper method called when root value to serialize is nullvoid
AnyGetterWriter.getAndFilter
(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) void
AnyGetterWriter.getAndSerialize
(Object bean, JsonGenerator gen, SerializerProvider provider) final void
BeanSerializer.serialize
(Object bean, JsonGenerator gen, SerializerProvider provider) Main serialization method that will delegate actual output to configuredBeanPropertyWriter
instances.void
BeanPropertyWriter.serializeAsElement
(Object bean, JsonGenerator gen, SerializerProvider prov) Alternative toBeanPropertyWriter.serializeAsField(java.lang.Object, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonGenerator, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializerProvider)
that is used when a POJO is serialized as JSON Array; the difference is that no field names are written.void
PropertyFilter.serializeAsElement
(Object elementValue, JsonGenerator gen, SerializerProvider prov, PropertyWriter writer) Method called by container to let the filter decide what to do with given element value: the usual choices are to either filter out (i.e.abstract void
PropertyWriter.serializeAsElement
(Object value, JsonGenerator jgen, SerializerProvider provider) Serialization method called when output is to be done as an array, that is, not using property names.void
VirtualBeanPropertyWriter.serializeAsElement
(Object bean, JsonGenerator gen, SerializerProvider prov) void
BeanPropertyFilter.serializeAsField
(Object pojo, JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer) Deprecated.Method called byBeanSerializer
to let filter decide what to do with given bean property value: the usual choices are to either filter out (i.e.void
BeanPropertyWriter.serializeAsField
(Object bean, JsonGenerator gen, SerializerProvider prov) Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.void
PropertyFilter.serializeAsField
(Object pojo, JsonGenerator gen, SerializerProvider prov, PropertyWriter writer) Method called byBeanSerializer
to let the filter decide what to do with given bean property value: the usual choices are to either filter out (i.e.abstract void
PropertyWriter.serializeAsField
(Object value, JsonGenerator jgen, SerializerProvider provider) The main serialization method called by filter when property is to be written normally.void
VirtualBeanPropertyWriter.serializeAsField
(Object bean, JsonGenerator gen, SerializerProvider prov) void
BeanPropertyWriter.serializeAsOmittedField
(Object bean, JsonGenerator gen, SerializerProvider prov) Method called to indicate that serialization of a field was omitted due to filtering, in cases where backend data format does not allow basic omission.abstract void
PropertyWriter.serializeAsOmittedField
(Object value, JsonGenerator jgen, SerializerProvider provider) Serialization method that filter needs to call in cases where property is to be filtered, but the underlying data format requires a placeholder of some kind.void
BeanPropertyWriter.serializeAsPlaceholder
(Object bean, JsonGenerator gen, SerializerProvider prov) Method called to serialize a placeholder used in tabular output when real value is not to be included (is filtered out), but when we need an entry so that field indexes will not be off.abstract void
PropertyWriter.serializeAsPlaceholder
(Object value, JsonGenerator jgen, SerializerProvider provider) Serialization method called when doing tabular (positional) output from databind, but then value is to be omitted.void
DefaultSerializerProvider.serializePolymorphic
(JsonGenerator gen, Object value, JavaType rootType, JsonSerializer<Object> valueSer, TypeSerializer typeSer) Alternate serialization call used for polymorphic types, whenTypeSerializer
is already known, but the actual serializer may or may not be.void
DefaultSerializerProvider.serializeValue
(JsonGenerator gen, Object value) The method to be called byObjectMapper
andObjectWriter
for serializing given value, using serializers that this provider has access to (via caching and/or creating new serializers as need be).void
DefaultSerializerProvider.serializeValue
(JsonGenerator gen, Object value, JavaType rootType) The method to be called byObjectMapper
andObjectWriter
for serializing given value (assumed to be of specified root type, instead of runtime type of value), using serializers that this provider has access to (via caching and/or creating new serializers as need be),void
DefaultSerializerProvider.serializeValue
(JsonGenerator gen, Object value, JavaType rootType, JsonSerializer<Object> ser) The method to be called byObjectWriter
for serializing given value (assumed to be of specified root type, instead of runtime type of value), when it may know specificJsonSerializer
to use.protected abstract Object
VirtualBeanPropertyWriter.value
(Object bean, JsonGenerator gen, SerializerProvider prov) Method called to figure out the value to serialize. -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.impl
Modifier and TypeMethodDescriptionprotected void
IteratorSerializer._serializeDynamicContents
(Iterator<?> value, JsonGenerator g, SerializerProvider provider) final void
BeanAsArraySerializer.serialize
(Object bean, JsonGenerator gen, SerializerProvider provider) Main serialization method that will delegate actual output to configuredBeanPropertyWriter
instances.void
FailingSerializer.serialize
(Object value, JsonGenerator g, SerializerProvider ctxt) final void
IndexedListSerializer.serialize
(List<?> value, JsonGenerator gen, SerializerProvider provider) void
IndexedStringListSerializer.serialize
(List<String> value, JsonGenerator g, SerializerProvider provider) final void
IteratorSerializer.serialize
(Iterator<?> value, JsonGenerator gen, SerializerProvider provider) void
MapEntrySerializer.serialize
(Map.Entry<?, ?> value, JsonGenerator gen, SerializerProvider provider) final void
StringArraySerializer.serialize
(String[] value, JsonGenerator gen, SerializerProvider provider) void
StringCollectionSerializer.serialize
(Collection<String> value, JsonGenerator g, SerializerProvider provider) void
TypeWrappedSerializer.serialize
(Object value, JsonGenerator g, SerializerProvider provider) void
UnknownSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider ctxt) void
UnsupportedTypeSerializer.serialize
(Object value, JsonGenerator g, SerializerProvider ctxt) final void
UnwrappingBeanSerializer.serialize
(Object bean, JsonGenerator gen, SerializerProvider provider) Main serialization method that will delegate actual output to configuredBeanPropertyWriter
instances.protected final void
BeanAsArraySerializer.serializeAsArray
(Object bean, JsonGenerator gen, SerializerProvider provider) void
SimpleBeanPropertyFilter.serializeAsElement
(Object elementValue, JsonGenerator jgen, SerializerProvider provider, PropertyWriter writer) void
SimpleBeanPropertyFilter.serializeAsField
(Object bean, JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer) Deprecated.void
SimpleBeanPropertyFilter.serializeAsField
(Object pojo, JsonGenerator jgen, SerializerProvider provider, PropertyWriter writer) void
UnwrappingBeanPropertyWriter.serializeAsField
(Object bean, JsonGenerator gen, SerializerProvider prov) void
IndexedListSerializer.serializeContents
(List<?> value, JsonGenerator g, SerializerProvider provider) void
IteratorSerializer.serializeContents
(Iterator<?> value, JsonGenerator g, SerializerProvider provider) void
StringArraySerializer.serializeContents
(String[] value, JsonGenerator gen, SerializerProvider provider) void
IndexedListSerializer.serializeContentsUsing
(List<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser) protected void
MapEntrySerializer.serializeDynamic
(Map.Entry<?, ?> value, JsonGenerator gen, SerializerProvider provider) void
IndexedListSerializer.serializeTypedContents
(List<?> value, JsonGenerator jgen, SerializerProvider provider) void
BeanAsArraySerializer.serializeWithType
(Object bean, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) void
IndexedStringListSerializer.serializeWithType
(List<String> value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
MapEntrySerializer.serializeWithType
(Map.Entry<?, ?> value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
StringCollectionSerializer.serializeWithType
(Collection<String> value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
TypeWrappedSerializer.serializeWithType
(Object value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
UnknownSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider ctxt, TypeSerializer typeSer) void
UnwrappingBeanSerializer.serializeWithType
(Object bean, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) protected Object
AttributePropertyWriter.value
(Object bean, JsonGenerator jgen, SerializerProvider prov) void
WritableObjectId.writeAsField
(JsonGenerator gen, SerializerProvider provider, ObjectIdWriter w) Method called to output Object Id as specified.boolean
WritableObjectId.writeAsId
(JsonGenerator gen, SerializerProvider provider, ObjectIdWriter w) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.std
Modifier and TypeMethodDescriptionprotected Map<?,
?> MapSerializer._orderEntries
(Map<?, ?> input, JsonGenerator gen, SerializerProvider provider) protected void
DateTimeSerializerBase._serializeAsString
(Date value, JsonGenerator g, SerializerProvider provider) protected void
BeanSerializerBase._serializeObjectId
(Object bean, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer, WritableObjectId objectId) protected final void
BeanSerializerBase._serializeWithObjectId
(Object bean, JsonGenerator gen, SerializerProvider provider, boolean startEndObject) protected final void
BeanSerializerBase._serializeWithObjectId
(Object bean, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) protected boolean
UUIDSerializer._writeAsBinary
(JsonGenerator g) protected void
MapSerializer._writeNullKeyedEntry
(JsonGenerator gen, SerializerProvider provider, Object value) void
ArraySerializerBase.serialize
(T value, JsonGenerator gen, SerializerProvider provider) void
AsArraySerializerBase.serialize
(T value, JsonGenerator gen, SerializerProvider provider) abstract void
BeanSerializerBase.serialize
(Object bean, JsonGenerator gen, SerializerProvider provider) void
BooleanSerializer.serialize
(Object value, JsonGenerator g, SerializerProvider provider) void
ByteArraySerializer.serialize
(byte[] value, JsonGenerator g, SerializerProvider provider) void
ByteBufferSerializer.serialize
(ByteBuffer bbuf, JsonGenerator gen, SerializerProvider provider) void
CalendarSerializer.serialize
(Calendar value, JsonGenerator g, SerializerProvider provider) void
ClassSerializer.serialize
(Class<?> value, JsonGenerator g, SerializerProvider provider) final void
CollectionSerializer.serialize
(Collection<?> value, JsonGenerator g, SerializerProvider provider) void
DateSerializer.serialize
(Date value, JsonGenerator g, SerializerProvider provider) abstract void
DateTimeSerializerBase.serialize
(T value, JsonGenerator gen, SerializerProvider serializers) final void
EnumSerializer.serialize
(Enum<?> en, JsonGenerator gen, SerializerProvider serializers) final void
EnumSetSerializer.serialize
(EnumSet<? extends Enum<?>> value, JsonGenerator gen, SerializerProvider provider) void
FileSerializer.serialize
(File value, JsonGenerator g, SerializerProvider provider) void
InetAddressSerializer.serialize
(InetAddress value, JsonGenerator g, SerializerProvider provider) void
InetSocketAddressSerializer.serialize
(InetSocketAddress value, JsonGenerator jgen, SerializerProvider provider) final void
IterableSerializer.serialize
(Iterable<?> value, JsonGenerator gen, SerializerProvider provider) void
JsonValueSerializer.serialize
(Object bean, JsonGenerator gen, SerializerProvider ctxt) void
MapSerializer.serialize
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider) void
NullSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializer.serialize
(Number value, JsonGenerator g, SerializerProvider provider) void
NumberSerializers.DoubleSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializers.FloatSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializers.IntegerSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializers.IntLikeSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializers.LongSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
NumberSerializers.ShortSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) final void
ObjectArraySerializer.serialize
(Object[] value, JsonGenerator gen, SerializerProvider provider) void
RawSerializer.serialize
(T value, JsonGenerator jgen, SerializerProvider provider) void
ReferenceTypeSerializer.serialize
(T ref, JsonGenerator g, SerializerProvider provider) void
SerializableSerializer.serialize
(JsonSerializable value, JsonGenerator gen, SerializerProvider serializers) void
SqlDateSerializer.serialize
(Date value, JsonGenerator g, SerializerProvider provider) void
SqlTimeSerializer.serialize
(Time value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.BooleanArraySerializer.serialize
(boolean[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.CharArraySerializer.serialize
(char[] value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.DoubleArraySerializer.serialize
(double[] value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.FloatArraySerializer.serialize
(float[] value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.IntArraySerializer.serialize
(int[] value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.LongArraySerializer.serialize
(long[] value, JsonGenerator g, SerializerProvider provider) final void
StdArraySerializers.ShortArraySerializer.serialize
(short[] value, JsonGenerator g, SerializerProvider provider) void
StdDelegatingSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
StdJdkSerializers.AtomicBooleanSerializer.serialize
(AtomicBoolean value, JsonGenerator gen, SerializerProvider provider) void
StdJdkSerializers.AtomicIntegerSerializer.serialize
(AtomicInteger value, JsonGenerator gen, SerializerProvider provider) void
StdJdkSerializers.AtomicLongSerializer.serialize
(AtomicLong value, JsonGenerator gen, SerializerProvider provider) void
StdKeySerializer.serialize
(Object value, JsonGenerator g, SerializerProvider provider) Deprecated.void
StdKeySerializers.Default.serialize
(Object value, JsonGenerator g, SerializerProvider provider) void
StdKeySerializers.Dynamic.serialize
(Object value, JsonGenerator g, SerializerProvider provider) void
StdKeySerializers.EnumKeySerializer.serialize
(Object value, JsonGenerator g, SerializerProvider serializers) void
StdKeySerializers.StringKeySerializer.serialize
(Object value, JsonGenerator g, SerializerProvider provider) abstract void
StdSerializer.serialize
(T value, JsonGenerator gen, SerializerProvider provider) void
StringSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
TimeZoneSerializer.serialize
(TimeZone value, JsonGenerator g, SerializerProvider provider) void
ToEmptyObjectSerializer.serialize
(Object value, JsonGenerator gen, SerializerProvider ctxt) void
TokenBufferSerializer.serialize
(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider) void
ToStringSerializerBase.serialize
(Object value, JsonGenerator gen, SerializerProvider provider) void
UUIDSerializer.serialize
(UUID value, JsonGenerator gen, SerializerProvider provider) void
MapProperty.serializeAsElement
(Object map, JsonGenerator gen, SerializerProvider provider) void
MapProperty.serializeAsField
(Object map, JsonGenerator gen, SerializerProvider provider) void
MapProperty.serializeAsOmittedField
(Object map, JsonGenerator gen, SerializerProvider provider) void
MapProperty.serializeAsPlaceholder
(Object value, JsonGenerator gen, SerializerProvider provider) protected abstract void
ArraySerializerBase.serializeContents
(T value, JsonGenerator jgen, SerializerProvider provider) protected abstract void
AsArraySerializerBase.serializeContents
(T value, JsonGenerator gen, SerializerProvider provider) void
CollectionSerializer.serializeContents
(Collection<?> value, JsonGenerator g, SerializerProvider provider) void
EnumSetSerializer.serializeContents
(EnumSet<? extends Enum<?>> value, JsonGenerator gen, SerializerProvider provider) void
IterableSerializer.serializeContents
(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider) void
ObjectArraySerializer.serializeContents
(Object[] value, JsonGenerator gen, SerializerProvider provider) void
StdArraySerializers.BooleanArraySerializer.serializeContents
(boolean[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.DoubleArraySerializer.serializeContents
(double[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.FloatArraySerializer.serializeContents
(float[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.IntArraySerializer.serializeContents
(int[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.LongArraySerializer.serializeContents
(long[] value, JsonGenerator g, SerializerProvider provider) void
StdArraySerializers.ShortArraySerializer.serializeContents
(short[] value, JsonGenerator g, SerializerProvider provider) void
CollectionSerializer.serializeContentsUsing
(Collection<?> value, JsonGenerator g, SerializerProvider provider, JsonSerializer<Object> ser) void
ObjectArraySerializer.serializeContentsUsing
(Object[] value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser) protected void
BeanSerializerBase.serializeFields
(Object bean, JsonGenerator gen, SerializerProvider provider) void
MapSerializer.serializeFields
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider) General-purpose serialization for contents, where we do not necessarily know the value serialization, but we do know that no value suppression is needed (which simplifies processing a bit)protected void
BeanSerializerBase.serializeFieldsFiltered
(Object bean, JsonGenerator gen, SerializerProvider provider) Alternative serialization method that gets called when there is aPropertyFilter
that needs to be called to determine which properties are to be serialized (and possibly how)void
MapSerializer.serializeFieldsUsing
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider, JsonSerializer<Object> ser) Method called to serialize fields, when the value type is statically known, so that value serializer is passed and does not need to be fetched from provider.void
MapSerializer.serializeFilteredAnyProperties
(SerializerProvider provider, JsonGenerator gen, Object bean, Map<?, ?> value, PropertyFilter filter, Object suppressableValue) Helper method used when we have a JSON Filter to use AND contents are "any properties" of a POJO.void
MapSerializer.serializeFilteredFields
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter, Object suppressableValue) Helper method used when we have a JSON Filter to use for potentially filtering out Map entries.void
MapSerializer.serializeOptionalFields
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider, Object suppressableValue) Serialization method called when exclusion filtering needs to be applied.void
ObjectArraySerializer.serializeTypedContents
(Object[] value, JsonGenerator jgen, SerializerProvider provider) void
MapSerializer.serializeTypedFields
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider, Object suppressableValue) void
MapSerializer.serializeWithoutTypeInfo
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider) General-purpose serialization for contents without writing object type.final void
ArraySerializerBase.serializeWithType
(T value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
AsArraySerializerBase.serializeWithType
(T value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
BeanSerializerBase.serializeWithType
(Object bean, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) final void
BooleanSerializer.serializeWithType
(Object value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
ByteArraySerializer.serializeWithType
(byte[] value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
InetAddressSerializer.serializeWithType
(InetAddress value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
InetSocketAddressSerializer.serializeWithType
(InetSocketAddress value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
JsonValueSerializer.serializeWithType
(Object bean, JsonGenerator gen, SerializerProvider ctxt, TypeSerializer typeSer0) void
MapSerializer.serializeWithType
(Map<?, ?> value, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) final void
NonTypedScalarSerializerBase.serializeWithType
(T value, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) Deprecated.void
NullSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer) Although this method should rarely get called, for convenience we should override it, and handle it same way as "natural" types: by serializing exactly as is, without type decorations.void
NumberSerializers.DoubleSerializer.serializeWithType
(Object value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
NumberSerializers.IntegerSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) void
RawSerializer.serializeWithType
(T value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
ReferenceTypeSerializer.serializeWithType
(T ref, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) final void
SerializableSerializer.serializeWithType
(JsonSerializable value, JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer) abstract void
StaticListSerializerBase.serializeWithType
(T value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
StdArraySerializers.CharArraySerializer.serializeWithType
(char[] value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
StdDelegatingSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) void
StdScalarSerializer.serializeWithType
(T value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix.final void
StringSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) void
TimeZoneSerializer.serializeWithType
(TimeZone value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) void
ToEmptyObjectSerializer.serializeWithType
(Object value, JsonGenerator gen, SerializerProvider ctxt, TypeSerializer typeSer) final void
TokenBufferSerializer.serializeWithType
(TokenBuffer value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) Implementing typed output for contents of a TokenBuffer is very tricky, since we do not know for sure what its contents might look like (or, rather, we do know when serializing, but not necessarily when deserializing!) One possibility would be to check the current token, and use that to determine if we would output JSON Array, Object or scalar value.void
ToStringSerializerBase.serializeWithType
(Object value, JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix. -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.type
Modifier and TypeMethodDescriptionvoid
TypeBase.serialize
(JsonGenerator gen, SerializerProvider provider) void
TypeBase.serializeWithType
(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonGenerator in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util
Modifier and TypeClassDescriptionclass
Utility class used for efficient storage ofJsonToken
sequences, needed for temporary buffering.Modifier and TypeMethodDescriptionTokenBuffer.disable
(JsonGenerator.Feature f) TokenBuffer.enable
(JsonGenerator.Feature f) TokenBuffer.overrideStdFeatures
(int values, int mask) TokenBuffer.setCodec
(ObjectCodec oc) TokenBuffer.setFeatureMask
(int mask) Deprecated.TokenBuffer.useDefaultPrettyPrinter()
Modifier and TypeMethodDescriptionprotected void
RawValue._serialize
(JsonGenerator gen) static void
ClassUtil.closeOnFailAndThrowAsIOE
(JsonGenerator g, Closeable toClose, Exception fail) Helper method that encapsulate logic in trying to close givenCloseable
in case of failure; useful mostly in forcing flush()ing as otherwise error conditions tend to be hard to diagnose.static void
ClassUtil.closeOnFailAndThrowAsIOE
(JsonGenerator g, Exception fail) Helper method that encapsulate logic in trying to close output generator in case of failure; useful mostly in forcing flush()ing as otherwise error conditions tend to be hard to diagnose.void
JSONPObject.serialize
(JsonGenerator gen, SerializerProvider provider) void
JSONWrappedObject.serialize
(JsonGenerator jgen, SerializerProvider provider) void
RawValue.serialize
(JsonGenerator gen) void
RawValue.serialize
(JsonGenerator gen, SerializerProvider serializers) void
TokenBuffer.serialize
(JsonGenerator gen) Helper method that will write all contents of this buffer using givenJsonGenerator
.void
JSONPObject.serializeWithType
(JsonGenerator gen, SerializerProvider provider, TypeSerializer typeSer) void
JSONWrappedObject.serializeWithType
(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) void
RawValue.serializeWithType
(JsonGenerator gen, SerializerProvider serializers, TypeSerializer typeSer)
JsonFactory.createGenerator(OutputStream)
instead.