JsonObjectSerializer

abstract class JsonObjectSerializer<T> : JsonSerializer<T>

Helper base class for JsonSerializer implementations that serialize objects.

Author

Phillip Webb

Since

1.4.0

Parameters

<T>

the supported object type

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun acceptJsonFormatVisitor(visitor: JsonFormatVisitorWrapper, type: JavaType)
Link copied to clipboard
open fun getDelegatee(): JsonSerializer<out Any>
Link copied to clipboard
open fun handledType(): Class<T>
Link copied to clipboard
open fun isEmpty(value: T): Boolean
Link copied to clipboard
Link copied to clipboard
open fun properties(): Iterator<PropertyWriter>
Link copied to clipboard
open fun replaceDelegatee(delegatee: JsonSerializer<out Any>): JsonSerializer<T>
Link copied to clipboard
fun serialize(value: T, jgen: JsonGenerator, provider: SerializerProvider)
Link copied to clipboard
open fun serializeWithType(value: T, gen: JsonGenerator, serializers: SerializerProvider, typeSer: TypeSerializer)
Link copied to clipboard
open fun unwrappingSerializer(unwrapper: NameTransformer): JsonSerializer<T>
Link copied to clipboard
open fun usesObjectId(): Boolean
Link copied to clipboard
open fun withFilterId(filterId: Any): JsonSerializer<out Any>
Link copied to clipboard
open fun withIgnoredProperties(ignoredProperties: Set<String>): JsonSerializer<out Any>