Package edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.std
package edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.std
-
ClassDescriptionIntermediate base class for serializers used for various Java arrays.Base class for serializers that will output contents as JSON arrays; typically serializers used for
Collection
and array types.Base class both for the standard bean serializer, and couple of variants that only differ in small details.Serializer used for primitive boolean, as well as java.util.Boolean wrapper type.Unlike other integral number array serializers, we do not just print out byte values as numbers.Standard serializer forCalendar
.Also: default bean access will not do much good with Class.class.Fallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).For efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.Standard serializer used forEnum
types.For now, File objects get serialized by just outputting absolute (but not canonical) name as String valueSimple serializer forInetAddress
.Simple serializer forInetSocketAddress
.Serializer class that can serialize Object that have aJsonValue
annotation to indicate that serialization should be done by calling the method annotated, and serializing result it returns.Helper class needed to support flexible filtering of Map properties with generic JSON Filter functionality.Standard serializer implementation for serializing {link java.util.Map} types.Deprecated.This is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.As a fallback, we may need to use this serializer for other types ofNumber
s: both custom types and "big" numbers likeBigInteger
andBigDecimal
.Container class for serializers used for handling standard JDK-provided primitve number types and their wrapper counterparts (likeInteger
).Shared base class for actual primitive/wrapper number serializers.This is the special serializer for regularDouble
s (and primitive doubles)This is the special serializer for regularInteger
s (and primitive ints)Similar toNumberSerializers.IntegerSerializer
, but will not cast to Integer: instead, cast is toNumber
, and conversion is by callingNumber.intValue()
.Generic serializer for Object arrays (Object[]
).This is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.Base implementation for values ofReferenceType
.Generic handler for types that implementJsonSerializable
.Compared to regularDate
serialization, we do use String representation here.StaticListSerializerBase<T extends Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.Dummy container class to group standard homogenous array serializer implementations (primitive arrays and String array).Character arrays are different from other integral number arrays in that they are most likely to be textual data, and should be written as Strings, not arrays of entries.Intermediate base class used for cases where we may add type information (excludes boolean/int/double arrays).Serializer implementation where given Java type is first converted to an intermediate "delegate type" (using a configuredConverter
, and then this delegate value is serialized by Jackson.Class that providers access to serializers user for non-structured JDK types that are serializer as scalars; some using basicToStringSerializer
, others explicit serializers.Deprecated.This is a "chameleon" style multi-type key serializer for simple standard JDK types.Key serializer used when key type is not known statically, and actual key serializer needs to be dynamically located.Specialized instance to use for Enum keys, as per [databind#1322]Simple and fast key serializer when keys are Strings.Base class used by all standard serializers, and can also be used for custom serializers (in fact, this is the recommended base class to use).This is the special serializer for regularString
s.Simple "bogus" serializer that will just serialize an empty Object for any given value.We also want to directly support serialization ofTokenBuffer
; and since it is part of core package, it cannot implementJsonSerializable
(which is only included in the mapper package)Simple general purpose serializer, useful for any type for whichObject.toString()
returns the desired JSON value.Intermediate base class that serves as base for standardToStringSerializer
as well as for custom subtypes that want to add processing for converting from value to output into itsString
representation (whereas standard version simply calls value object'stoString()
method).SpecializedJsonSerializer
to outputUUID
s.
StdKeySerializers.Default
instead.