Package edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser.std
package edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser.std
Contains public standard implementations of abstraction that
Jackson uses. This means that they are not merely implementation
details, but part of semi-public interface where project
tries to maintain backwards compatibility at higher level
than for 'impl' types (although less so than with fully
public interfaces).
Note that since this package was only added relatively late in development cycle, not all classes that belong here are included. Plan is to move more classes over time.
-
ClassDescriptionWe need a custom deserializer both because
ArrayBlockingQueue
has no default constructor AND because it has size limit used for constructing underlying storage automatically.Basic serializer that can take JSON "Array" structure and construct aCollection
instance, with typed contents.Helper class for dealing with Object Id references for values contained in collections being deserialized.Intermediate base deserializer class that adds more shared accessor so that other classes can access information about contained (value) typesContainer class for core JDK date/time type deserializers.Simple deserializer for handlingDate
values.Compared to plain oldDate
, SQL version is easier to deal with: mostly because it is more limited.Simple deserializer for handlingTimestamp
values.Base class that simplifies implementations ofJsonDeserializer
s that mostly delegate functionality to another deserializer implementation (possibly forming a chaing of deserializers delegating functionality in some cases)Deserializer class that can deserialize instances of specified Enum class from Strings and Integers.Deserializer forEnumMap
values.Standard deserializer forEnumSet
s.Base class for simple deserializers that serialize values from String representation: this includes JSON Strings and other Scalar values that can be coerced into text, like Numbers and Booleans)."Chameleon" deserializer that works on simple types that are deserialized from a simple String.Container class that contains serializers for JDK types that require special handling for some reason.ForJsonLocation
, we should be able to just implementValueInstantiator
(not that explicit one would be very hard but...)Basic deserializer that can take JSON "Object" structure and construct aMap
instance, with typed contents.Basic serializer that can take JSON "Object" structure and construct aMap
instance, with typed contents.Bogus deserializer that will simply skip all content there is to map and returns Java null reference.Container class for deserializers that handle core JDK primitive (and matching wrapper) types, as well as standard "big" numeric types.This is bit trickier to implement efficiently, while avoiding overflow problems.For typeNumber.class
, we can just rely on type mappings that plainJsonParser.getNumberValue()
returns.Basic serializer that can serialize non-primitive arrays.Container for deserializers used for instantiating "primitive arrays", arrays that contain non-object java primitive types.Base deserializer implementation for propertiesReferenceType
values.Intermediate class used both for convenience of binding and to supportPropertyNamingStrategy
.Deserializer implementation where given Java type is first deserialized by a standard Jackson deserializer into a delegate type; and then this delegate type is converted using a configuredConverter
into desired target type.Base class for common deserializers.DefaultKeyDeserializer
implementation used for mostMap
types Jackson supports.Helper class used to contain simple/well-known key deserializers.Convenience deserializer that may be used to deserialize values given an intermediate tree representation (JsonNode
).Base class for deserializers that handle types that are serialized as JSON scalars (non-structured, i.e.DefaultValueInstantiator
implementation, which supports Creator methods that can be indicated by standard Jackson annotations.Separate implementation for serializing String arrays (instead of usingObjectArrayDeserializer
.Specifically optimized version forCollection
s that contain String values; reason is that this is a very common type and we can make use of the fact that Strings are final.Deserializer that builds on basicBeanDeserializer
but override some aspects like instance construction.We also want to directly support deserialization ofTokenBuffer
.Deserializer implementation that is used if it is necessary to bind content of "unknown" type; something declared as basicObject
(either explicitly, or due to type erasure).Deprecated.