Uses of Class
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializerProvider
Package
Description
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 implementation classes of deserialization part of
data binding.
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.
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods.Classes needed for JSON schema support (currently just ability
to generate schemas using serialization part of data mapping)
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 SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
Modifier and TypeMethodDescriptionObjectMapper.getSerializerProvider()
Accessor for the "blueprint" (or, factory) instance, from which instances are created by callingDefaultSerializerProvider.createInstance(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializationConfig, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.SerializerFactory)
.ObjectMapper.getSerializerProviderInstance()
Accessor for constructing and returning aSerializerProvider
instance that may be used for accessing serializers.SerializerProvider.setAttribute
(Object key, Object value) Modifier and TypeMethodDescriptionvoid
BeanProperty.Bogus.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) void
BeanProperty.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Method that can be called to visit the type structure that this property is part of.void
BeanProperty.Std.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Implementation of this method throwsUnsupportedOperationException
, since instances of this implementation should not be used as part of actual structure visited.static JsonMappingException
JsonMappingException.from
(SerializerProvider ctxt, String msg) static JsonMappingException
JsonMappingException.from
(SerializerProvider ctxt, String msg, Throwable problem) boolean
JsonSerializable.Base.isEmpty
(SerializerProvider serializers) Method that may be called on instance to determine if it is considered "empty" for purposes of serialization filtering or not.boolean
JsonSerializer.isEmpty
(SerializerProvider provider, T value) Method called to check whether given serializable value is considered "empty" value (for purposes of suppressing serialization of empty values).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
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.ModifierConstructorDescriptionprotected
Copy-constructor used when making a copy of a blueprint instance.protected
SerializerProvider
(SerializerProvider src, SerializationConfig config, SerializerFactory f) "Copy-constructor", used by sub-classes when creating actual non-blueprint instances to use. -
Uses of SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser
Modifier and TypeMethodDescriptionvoid
SettableBeanProperty.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) -
Uses of SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ext
Modifier and TypeMethodDescriptionprotected void
SqlBlobSerializer._writeValue
(Blob value, JsonGenerator gen, SerializerProvider ctxt) CoreXMLSerializers.XMLGregorianCalendarSerializer.createContextual
(SerializerProvider prov, BeanProperty property) DOMSerializer.getSchema
(SerializerProvider provider, Type typeHint) boolean
CoreXMLSerializers.XMLGregorianCalendarSerializer.isEmpty
(SerializerProvider provider, XMLGregorianCalendar value) boolean
SqlBlobSerializer.isEmpty
(SerializerProvider provider, Blob value) 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 SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonFormatVisitors
Modifier and TypeFieldDescriptionprotected SerializerProvider
JsonArrayFormatVisitor.Base._provider
protected SerializerProvider
JsonFormatVisitorWrapper.Base._provider
protected SerializerProvider
JsonMapFormatVisitor.Base._provider
protected SerializerProvider
JsonObjectFormatVisitor.Base._provider
Modifier and TypeMethodDescriptionJsonArrayFormatVisitor.Base.getProvider()
JsonFormatVisitorWithSerializerProvider.getProvider()
JsonFormatVisitorWrapper.Base.getProvider()
JsonMapFormatVisitor.Base.getProvider()
JsonObjectFormatVisitor.Base.getProvider()
Modifier and TypeMethodDescriptionvoid
JsonArrayFormatVisitor.Base.setProvider
(SerializerProvider p) void
JsonFormatVisitorWithSerializerProvider.setProvider
(SerializerProvider provider) void
JsonFormatVisitorWrapper.Base.setProvider
(SerializerProvider p) void
JsonMapFormatVisitor.Base.setProvider
(SerializerProvider p) void
JsonObjectFormatVisitor.Base.setProvider
(SerializerProvider p) ModifierConstructorDescription -
Uses of SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonschema
Modifier and TypeMethodDescriptionSchemaAware.getSchema
(SerializerProvider provider, Type typeHint) Get the representation of the schema to which this serializer will conform.SchemaAware.getSchema
(SerializerProvider provider, Type typeHint, boolean isOptional) Get the representation of the schema to which this serializer will conform. -
Uses of SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.node
Modifier and TypeMethodDescriptionboolean
ArrayNode.isEmpty
(SerializerProvider serializers) boolean
ObjectNode.isEmpty
(SerializerProvider serializers) void
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 SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser
Modifier and TypeClassDescriptionclass
Standard implementation used byObjectMapper
: adds methods only exposed toObjectMapper
, as well as constructors.static final class
Concrete implementation that defines factory method(s), defined as final.Modifier and TypeMethodDescriptionprotected MapSerializer
BasicSerializerFactory._checkMapContentInclusion
(SerializerProvider prov, BeanDescription beanDesc, MapSerializer mapSer) Helper method that does figures out content inclusion value to use, if any, and construct re-configuredMapSerializer
appropriately.protected BeanPropertyWriter
BeanSerializerFactory._constructWriter
(SerializerProvider prov, BeanPropertyDefinition propDef, PropertyBuilder pb, boolean staticTyping, AnnotatedMember accessor) Secondary helper method for constructingBeanPropertyWriter
for given member (field or method).protected JsonSerializer<?>
BeanSerializerFactory._createSerializer2
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) protected JsonSerializer<Object>
BeanPropertyWriter._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected JsonSerializer<Object>
BasicSerializerFactory._findContentSerializer
(SerializerProvider prov, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates content ("value") serializer to use.protected JsonInclude.Value
BasicSerializerFactory._findInclusionWithContent
(SerializerProvider prov, BeanDescription beanDesc, JavaType contentType, Class<?> configType) Helper method used for finding inclusion definitions for structured container types likeMap
s and referential types (likeAtomicReference
).protected JsonSerializer<Object>
BasicSerializerFactory._findKeySerializer
(SerializerProvider prov, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates key serializer to use.protected JsonSerializer<?>
BeanSerializerFactory._findUnsupportedTypeSerializer
(SerializerProvider ctxt, JavaType type, BeanDescription beanDesc) protected boolean
BeanPropertyWriter._handleSelfReference
(Object bean, JsonGenerator gen, SerializerProvider prov, JsonSerializer<?> ser) Method called to handle a direct self-reference through this property.protected boolean
BeanSerializerFactory._isUnserializableJacksonType
(SerializerProvider ctxt, JavaType type) void
SerializerCache.addAndResolveNonTypedSerializer
(JavaType type, JsonSerializer<Object> ser, SerializerProvider provider) void
SerializerCache.addAndResolveNonTypedSerializer
(Class<?> rawType, JavaType fullType, JsonSerializer<Object> ser, SerializerProvider provider) Another alternative that will cover both access via raw type and matching fully resolved type, in one fell swoop.void
SerializerCache.addAndResolveNonTypedSerializer
(Class<?> type, JsonSerializer<Object> ser, SerializerProvider provider) protected JsonSerializer<?>
BasicSerializerFactory.buildArraySerializer
(SerializerProvider prov, ArrayType type, BeanDescription beanDesc, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forObject[]
(and subtypes, except for String).protected JsonSerializer<?>
BasicSerializerFactory.buildAtomicReferenceSerializer
(SerializerProvider prov, ReferenceType refType, BeanDescription beanDesc, boolean staticTyping, TypeSerializer contentTypeSerializer, JsonSerializer<Object> contentSerializer) protected JsonSerializer<?>
BasicSerializerFactory.buildCollectionSerializer
(SerializerProvider prov, CollectionType type, BeanDescription beanDesc, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forList
types that support efficient by-index accessprotected JsonSerializer<?>
BasicSerializerFactory.buildContainerSerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) protected JsonSerializer<?>
BasicSerializerFactory.buildMapEntrySerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping, JavaType keyType, JavaType valueType) protected JsonSerializer<?>
BasicSerializerFactory.buildMapSerializer
(SerializerProvider prov, MapType type, BeanDescription beanDesc, boolean staticTyping, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forMap
types.protected BeanPropertyWriter
PropertyBuilder.buildWriter
(SerializerProvider prov, BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) protected JsonSerializer<Object>
BeanSerializerFactory.constructBeanOrAddOnSerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) Method called to construct serializer for serializing specified bean type if (but only if, as of 2.10), at least one property is found.protected JsonSerializer<Object>
BeanSerializerFactory.constructBeanSerializer
(SerializerProvider prov, BeanDescription beanDesc) Deprecated.protected ObjectIdWriter
BeanSerializerFactory.constructObjectIdHandler
(SerializerProvider prov, BeanDescription beanDesc, List<BeanPropertyWriter> props) ContextualSerializer.createContextual
(SerializerProvider prov, BeanProperty property) Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property.BasicSerializerFactory.createKeySerializer
(SerializerProvider ctxt, JavaType keyType, JsonSerializer<Object> defaultImpl) SerializerFactory.createKeySerializer
(SerializerProvider prov, JavaType type, JsonSerializer<Object> defaultImpl) Method called to create serializer to use for serializing JSON property names (which must be output asJsonToken.FIELD_NAME
) for Map that has specified declared key type, and is for specified property (or, if property is null, as root value)abstract JsonSerializer<Object>
BasicSerializerFactory.createSerializer
(SerializerProvider prov, JavaType type) BeanSerializerFactory.createSerializer
(SerializerProvider prov, JavaType origType) Main serializer constructor method.abstract JsonSerializer<Object>
SerializerFactory.createSerializer
(SerializerProvider prov, JavaType baseType) Method called to create (or, for immutable serializers, reuse) a serializer for given type.void
BeanPropertyFilter.depositSchemaProperty
(BeanPropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Deprecated.Method called byBeanSerializer
to let the filter determine whether, and in what form the given property exist within the parent, or root, schema.void
BeanPropertyFilter.depositSchemaProperty
(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider) Deprecated.void
BeanPropertyWriter.depositSchemaProperty
(JsonObjectFormatVisitor v, SerializerProvider provider) void
BeanPropertyWriter.depositSchemaProperty
(ObjectNode propertiesNode, SerializerProvider provider) Deprecated.void
PropertyFilter.depositSchemaProperty
(PropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Method called byBeanSerializer
to let the filter determine whether, and in what form the given property exist within the parent, or root, schema.void
PropertyFilter.depositSchemaProperty
(PropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider) Deprecated.Since 2.3: new code should use the alternativedepositSchemaProperty
methodabstract void
PropertyWriter.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Traversal method used for things like JSON Schema generation, or POJO introspection.abstract void
PropertyWriter.depositSchemaProperty
(ObjectNode propertiesNode, SerializerProvider provider) Deprecated.Since 2.2BeanSerializerFactory.findBeanOrAddOnSerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) Method that will try to construct aBeanSerializer
for given class if at least one property is found, OR, if not, one of add-on types.protected List<BeanPropertyWriter>
BeanSerializerFactory.findBeanProperties
(SerializerProvider prov, BeanDescription beanDesc, BeanSerializerBuilder builder) Method used to collect all actual serializable properties.BeanSerializerFactory.findBeanSerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc) Deprecated.BasicSerializerFactory.findConverter
(SerializerProvider prov, Annotated a) protected JsonSerializer<?>
BasicSerializerFactory.findConvertingSerializer
(SerializerProvider prov, Annotated a, JsonSerializer<?> ser) Helper method that will check whether given annotated entity (usually class, but may also be a property accessor) indicates that aConverter
is to be used; and if so, to construct and return suitable serializer for it.protected JsonSerializer<?>
BasicSerializerFactory.findOptionalStdSerializer
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) Overridable method called after checking all other types.BasicSerializerFactory.findReferenceSerializer
(SerializerProvider prov, ReferenceType refType, BeanDescription beanDesc, boolean staticTyping) protected final JsonSerializer<?>
BasicSerializerFactory.findSerializerByAnnotations
(SerializerProvider prov, JavaType type, BeanDescription beanDesc) Method called to see if one of primary per-class annotations (or related, like implementing ofJsonSerializable
) determines the serializer to use.protected final JsonSerializer<?>
BasicSerializerFactory.findSerializerByPrimaryType
(SerializerProvider prov, JavaType type, BeanDescription beanDesc, boolean staticTyping) Method for checking if we can determine serializer to use based on set of known primary types, checking for set of known base types (exact matches having been compared against withfindSerializerByLookup
).protected JsonSerializer<Object>
BasicSerializerFactory.findSerializerFromAnnotation
(SerializerProvider prov, Annotated a) Helper method called to check if a class or method has an annotation (@link edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.annotation.JsonSerialize#using) that tells the class to use for serialization.void
AnyGetterWriter.getAndFilter
(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) void
AnyGetterWriter.getAndSerialize
(Object bean, JsonGenerator gen, SerializerProvider provider) protected boolean
ContainerSerializer.hasContentTypeAnnotation
(SerializerProvider provider, BeanProperty property) Deprecated.Since 2.7: should not be needed; should be enough to see if type has 'isStatic' modifierprotected List<BeanPropertyWriter>
BeanSerializerFactory.removeOverlappingTypeIds
(SerializerProvider prov, BeanDescription beanDesc, BeanSerializerBuilder builder, List<BeanPropertyWriter> props) Helper method called to ensure that we do not have "duplicate" type ids.void
AnyGetterWriter.resolve
(SerializerProvider provider) void
ResolvableSerializer.resolve
(SerializerProvider provider) Method called afterSerializerProvider
has registered the serializer, but before it has returned it to the caller.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.protected abstract Object
VirtualBeanPropertyWriter.value
(Object bean, JsonGenerator gen, SerializerProvider prov) Method called to figure out the value to serialize.ModifierConstructorDescriptionprotected
protected
Impl
(SerializerProvider src, SerializationConfig config, SerializerFactory f) -
Uses of SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.impl
Modifier and TypeMethodDescriptionprotected final JsonSerializer<Object>
MapEntrySerializer._findAndAddDynamic
(PropertySerializerMap map, JavaType type, SerializerProvider provider) protected final JsonSerializer<Object>
MapEntrySerializer._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected JsonSerializer<Object>
UnwrappingBeanPropertyWriter._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected void
IteratorSerializer._serializeDynamicContents
(Iterator<?> value, JsonGenerator g, SerializerProvider provider) MapEntrySerializer.createContextual
(SerializerProvider provider, BeanProperty property) StringArraySerializer.createContextual
(SerializerProvider provider, BeanProperty property) TypeWrappedSerializer.createContextual
(SerializerProvider provider, BeanProperty property) void
SimpleBeanPropertyFilter.depositSchemaProperty
(BeanPropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) Deprecated.void
SimpleBeanPropertyFilter.depositSchemaProperty
(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider) Deprecated.void
SimpleBeanPropertyFilter.depositSchemaProperty
(PropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) void
SimpleBeanPropertyFilter.depositSchemaProperty
(PropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider) Deprecated.void
UnwrappingBeanPropertyWriter.depositSchemaProperty
(JsonObjectFormatVisitor visitor, SerializerProvider provider) protected void
UnknownSerializer.failForEmpty
(SerializerProvider prov, Object value) PropertySerializerMap.findAndAddKeySerializer
(Class<?> type, SerializerProvider provider, BeanProperty property) Method called if initial lookup fails, when looking for a key serializer (possible attached indirectly to a property) Will both find serializer and construct new map instance if warranted, and return both.PropertySerializerMap.findAndAddPrimarySerializer
(JavaType type, SerializerProvider provider, BeanProperty property) PropertySerializerMap.findAndAddPrimarySerializer
(Class<?> type, SerializerProvider provider, BeanProperty property) Method called if initial lookup fails, when looking for a primary serializer (one that is directly attached to a property).PropertySerializerMap.findAndAddRootValueSerializer
(JavaType type, SerializerProvider provider) PropertySerializerMap.findAndAddRootValueSerializer
(Class<?> type, SerializerProvider provider) Method called if initial lookup fails, when looking for a root value serializer: one that is not directly attached to a property, but needs to haveTypeSerializer
wrapped around it.PropertySerializerMap.findAndAddSecondarySerializer
(JavaType type, SerializerProvider provider, BeanProperty property) PropertySerializerMap.findAndAddSecondarySerializer
(Class<?> type, SerializerProvider provider, BeanProperty property) Method called if initial lookup fails, when looking for a non-primary serializer (one that is not directly attached to a property).StringArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) boolean
IndexedListSerializer.isEmpty
(SerializerProvider prov, List<?> value) boolean
IteratorSerializer.isEmpty
(SerializerProvider prov, Iterator<?> value) boolean
MapEntrySerializer.isEmpty
(SerializerProvider prov, Map.Entry<?, ?> entry) boolean
StringArraySerializer.isEmpty
(SerializerProvider prov, String[] value) 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 SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.std
Modifier and TypeMethodDescriptionprotected boolean
DateTimeSerializerBase._asTimestamp
(SerializerProvider serializers) protected final JsonSerializer<Object>
AsArraySerializerBase._findAndAddDynamic
(PropertySerializerMap map, JavaType type, SerializerProvider provider) protected final JsonSerializer<Object>
AsArraySerializerBase._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected final JsonSerializer<Object>
MapSerializer._findAndAddDynamic
(PropertySerializerMap map, JavaType type, SerializerProvider provider) protected final JsonSerializer<Object>
MapSerializer._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected final JsonSerializer<Object>
ObjectArraySerializer._findAndAddDynamic
(PropertySerializerMap map, JavaType type, SerializerProvider provider) protected final JsonSerializer<Object>
ObjectArraySerializer._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected JsonSerializer<Object>
StdKeySerializers.Dynamic._findAndAddDynamic
(PropertySerializerMap map, Class<?> type, SerializerProvider provider) protected JsonSerializer<Object>
JsonValueSerializer._findDynamicSerializer
(SerializerProvider ctxt, Class<?> valueClass) protected JsonSerializer<Object>
StdDelegatingSerializer._findSerializer
(Object value, SerializerProvider serializers) Helper method used for locating serializer to use in dynamic use case, where actual type value gets converted to is not specified beyond basicObject
, and where serializer needs to be located dynamically based on actual value type.protected Map<?,
?> MapSerializer._orderEntries
(Map<?, ?> input, JsonGenerator gen, SerializerProvider provider) protected final boolean
EnumSerializer._serializeAsIndex
(SerializerProvider serializers) 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 final boolean
ArraySerializerBase._shouldUnwrapSingle
(SerializerProvider provider) protected boolean
ReferenceTypeSerializer._useStatic
(SerializerProvider provider, BeanProperty property, JavaType referredType) protected void
MapSerializer._writeNullKeyedEntry
(JsonGenerator gen, SerializerProvider provider, Object value) ArraySerializerBase.createContextual
(SerializerProvider serializers, BeanProperty property) AsArraySerializerBase.createContextual
(SerializerProvider serializers, BeanProperty property) This method is needed to resolve contextual annotations like per-property overrides, as well as do recursive call tocreateContextual
of content serializer, if known statically.BeanSerializerBase.createContextual
(SerializerProvider provider, BeanProperty property) BooleanSerializer.createContextual
(SerializerProvider serializers, BeanProperty property) DateTimeSerializerBase.createContextual
(SerializerProvider serializers, BeanProperty property) EnumSerializer.createContextual
(SerializerProvider serializers, BeanProperty property) To support some level of per-property configuration, we will need to make things contextual.InetAddressSerializer.createContextual
(SerializerProvider serializers, BeanProperty property) JsonValueSerializer.createContextual
(SerializerProvider ctxt, BeanProperty property) We can try to find the actual serializer for value, if we can statically figure out what the result type must be.MapSerializer.createContextual
(SerializerProvider provider, BeanProperty property) NumberSerializer.createContextual
(SerializerProvider prov, BeanProperty property) NumberSerializers.Base.createContextual
(SerializerProvider prov, BeanProperty property) ObjectArraySerializer.createContextual
(SerializerProvider serializers, BeanProperty property) ReferenceTypeSerializer.createContextual
(SerializerProvider provider, BeanProperty property) StaticListSerializerBase.createContextual
(SerializerProvider serializers, BeanProperty property) StdDelegatingSerializer.createContextual
(SerializerProvider provider, BeanProperty property) UUIDSerializer.createContextual
(SerializerProvider serializers, BeanProperty property) void
MapProperty.depositSchemaProperty
(JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) void
MapProperty.depositSchemaProperty
(ObjectNode propertiesNode, SerializerProvider provider) Deprecated.protected JsonSerializer<?>
StdSerializer.findAnnotatedContentSerializer
(SerializerProvider serializers, BeanProperty property) Convenience method for finding out possibly configured content value serializer.protected JsonSerializer<?>
StdSerializer.findContextualConvertingSerializer
(SerializerProvider provider, BeanProperty property, JsonSerializer<?> existingSerializer) Helper method that can be used to see if specified property has annotation indicating that a converter is to be used for contained values (contents of structured types; array/List/Map values)protected JsonSerializer<?>
StdSerializer.findConvertingContentSerializer
(SerializerProvider provider, BeanProperty prop, JsonSerializer<?> existingSerializer) Deprecated.protected JsonSerializer<Object>
BeanSerializerBase.findConvertingSerializer
(SerializerProvider provider, BeanPropertyWriter prop) Helper method that can be used to see if specified property is annotated to indicate use of a converter for property value (in case of container types, it is container type itself, not key or content type).protected Boolean
StdSerializer.findFormatFeature
(SerializerProvider provider, BeanProperty prop, Class<?> typeForDefaults, JsonFormat.Feature feat) Convenience method that usesStdSerializer.findFormatOverrides(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializerProvider, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.BeanProperty, java.lang.Class<?>)
to find possible defaults and/of overrides, and then callsJsonFormat.Value.getFeature(...)
to find whether that feature has been specifically marked as enabled or disabled.protected JsonFormat.Value
StdSerializer.findFormatOverrides
(SerializerProvider provider, BeanProperty prop, Class<?> typeForDefaults) Helper method that may be used to find if this deserializer has specificJsonFormat
settings, either via property, or through type-specific defaulting.protected JsonInclude.Value
StdSerializer.findIncludeOverrides
(SerializerProvider provider, BeanProperty prop, Class<?> typeForDefaults) protected PropertyFilter
StdSerializer.findPropertyFilter
(SerializerProvider provider, Object filterId, Object valueToFilter) Helper method used to locate filter that is needed, based on filter id this serializer was constructed with.AsArraySerializerBase.getSchema
(SerializerProvider provider, Type typeHint) BeanSerializerBase.getSchema
(SerializerProvider provider, Type typeHint) Deprecated.BooleanSerializer.getSchema
(SerializerProvider provider, Type typeHint) ByteArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) ClassSerializer.getSchema
(SerializerProvider provider, Type typeHint) DateTimeSerializerBase.getSchema
(SerializerProvider serializers, Type typeHint) EnumSerializer.getSchema
(SerializerProvider provider, Type typeHint) FileSerializer.getSchema
(SerializerProvider provider, Type typeHint) JsonValueSerializer.getSchema
(SerializerProvider ctxt, Type typeHint) MapSerializer.getSchema
(SerializerProvider provider, Type typeHint) NullSerializer.getSchema
(SerializerProvider provider, Type typeHint) NumberSerializer.getSchema
(SerializerProvider provider, Type typeHint) NumberSerializers.Base.getSchema
(SerializerProvider provider, Type typeHint) RawSerializer.getSchema
(SerializerProvider provider, Type typeHint) SqlTimeSerializer.getSchema
(SerializerProvider provider, Type typeHint) StaticListSerializerBase.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.BooleanArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.CharArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.DoubleArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.FloatArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.IntArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.LongArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdArraySerializers.ShortArraySerializer.getSchema
(SerializerProvider provider, Type typeHint) StdDelegatingSerializer.getSchema
(SerializerProvider provider, Type typeHint) StdDelegatingSerializer.getSchema
(SerializerProvider provider, Type typeHint, boolean isOptional) StdJdkSerializers.AtomicBooleanSerializer.getSchema
(SerializerProvider provider, Type typeHint) StdJdkSerializers.AtomicIntegerSerializer.getSchema
(SerializerProvider provider, Type typeHint) StdJdkSerializers.AtomicLongSerializer.getSchema
(SerializerProvider provider, Type typeHint) StdScalarSerializer.getSchema
(SerializerProvider provider, Type typeHint) StdSerializer.getSchema
(SerializerProvider provider, Type typeHint) Default implementation simply claims type is "string"; usually overriden by custom serializers.StdSerializer.getSchema
(SerializerProvider provider, Type typeHint, boolean isOptional) Default implementation simply claims type is "string"; usually overriden by custom serializers.StringSerializer.getSchema
(SerializerProvider provider, Type typeHint) ToEmptyObjectSerializer.getSchema
(SerializerProvider provider, Type typeHint) TokenBufferSerializer.getSchema
(SerializerProvider provider, Type typeHint) ToStringSerializerBase.getSchema
(SerializerProvider provider, Type typeHint) boolean
ByteArraySerializer.isEmpty
(SerializerProvider prov, byte[] value) boolean
CollectionSerializer.isEmpty
(SerializerProvider prov, Collection<?> value) boolean
DateTimeSerializerBase.isEmpty
(SerializerProvider serializers, T value) boolean
EnumSetSerializer.isEmpty
(SerializerProvider prov, EnumSet<? extends Enum<?>> value) boolean
IterableSerializer.isEmpty
(SerializerProvider prov, Iterable<?> value) boolean
JsonValueSerializer.isEmpty
(SerializerProvider ctxt, Object bean) boolean
MapSerializer.isEmpty
(SerializerProvider prov, Map<?, ?> value) boolean
ObjectArraySerializer.isEmpty
(SerializerProvider prov, Object[] value) boolean
ReferenceTypeSerializer.isEmpty
(SerializerProvider provider, T value) boolean
SerializableSerializer.isEmpty
(SerializerProvider serializers, JsonSerializable value) boolean
StaticListSerializerBase.isEmpty
(SerializerProvider provider, T value) boolean
StdArraySerializers.BooleanArraySerializer.isEmpty
(SerializerProvider prov, boolean[] value) boolean
StdArraySerializers.CharArraySerializer.isEmpty
(SerializerProvider prov, char[] value) boolean
StdArraySerializers.DoubleArraySerializer.isEmpty
(SerializerProvider prov, double[] value) boolean
StdArraySerializers.FloatArraySerializer.isEmpty
(SerializerProvider prov, float[] value) boolean
StdArraySerializers.IntArraySerializer.isEmpty
(SerializerProvider prov, int[] value) boolean
StdArraySerializers.LongArraySerializer.isEmpty
(SerializerProvider prov, long[] value) boolean
StdArraySerializers.ShortArraySerializer.isEmpty
(SerializerProvider prov, short[] value) boolean
StdDelegatingSerializer.isEmpty
(SerializerProvider prov, Object value) boolean
StringSerializer.isEmpty
(SerializerProvider prov, Object value) boolean
ToEmptyObjectSerializer.isEmpty
(SerializerProvider provider, Object value) boolean
ToStringSerializerBase.isEmpty
(SerializerProvider prov, Object value) boolean
UUIDSerializer.isEmpty
(SerializerProvider prov, UUID value) void
BeanSerializerBase.resolve
(SerializerProvider provider) We need to implementResolvableSerializer
to be able to properly handle cyclic type references.void
StdDelegatingSerializer.resolve
(SerializerProvider provider) 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.void
StdSerializer.wrapAndThrow
(SerializerProvider provider, Throwable t, Object bean, int index) void
StdSerializer.wrapAndThrow
(SerializerProvider provider, Throwable t, Object bean, String fieldName) Method that will modify caught exception (passed in as argument) as necessary to include reference information, and to ensure it is a subtype ofIOException
, or an unchecked exception. -
Uses of SerializerProvider 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 SerializerProvider in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util
Modifier and TypeMethodDescriptionvoid
JSONPObject.serialize
(JsonGenerator gen, SerializerProvider provider) void
JSONWrappedObject.serialize
(JsonGenerator jgen, SerializerProvider provider) void
RawValue.serialize
(JsonGenerator gen, SerializerProvider serializers) 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)
depositSchemaProperty
method