Class AtomicReferenceSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
-
- com.fasterxml.jackson.databind.ser.std.AtomicReferenceSerializer
-
- All Implemented Interfaces:
JsonFormatVisitable
,SchemaAware
,ContextualSerializer
,java.io.Serializable
public class AtomicReferenceSerializer extends ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer
MARKER_FOR_EMPTY
-
-
Constructor Summary
Constructors Constructor Description AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, JsonSerializer<java.lang.Object> ser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
withContentInclusion(java.lang.Object suppressableValue, boolean suppressNulls)
Mutant factory method called to create a differently constructed instance, specifically with different exclusion rules for contained value.-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer
acceptJsonFormatVisitor, createContextual, getReferredType, isEmpty, isUnwrappingSerializer, serialize, serializeWithType, unwrappingSerializer
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
getSchema, getSchema, handledType, wrapAndThrow, wrapAndThrow
-
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, properties, replaceDelegatee, usesObjectId, withFilterId
-
-
-
-
Constructor Detail
-
AtomicReferenceSerializer
public AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, JsonSerializer<java.lang.Object> ser)
-
-
Method Detail
-
withContentInclusion
public ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> withContentInclusion(java.lang.Object suppressableValue, boolean suppressNulls)
Description copied from class:ReferenceTypeSerializer
Mutant factory method called to create a differently constructed instance, specifically with different exclusion rules for contained value.NOTE: caller has verified that there are changes, so implementations need NOT check if a new instance is needed.
- Specified by:
withContentInclusion
in classReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
-
-