OptionSerializer

class OptionSerializer : ReferenceTypeSerializer<Option<*>>

Constructors

Link copied to clipboard
constructor(fullType: ReferenceType, staticTyping: Boolean, typeSerializer: TypeSerializer?, jsonSerializer: JsonSerializer<Any>?)
constructor(base: OptionSerializer, property: BeanProperty?, typeSerializer: TypeSerializer?, valueSer: JsonSerializer<*>?, unwrapper: NameTransformer?, suppressableValue: Any?, suppressNulls: Boolean)

Properties

Link copied to clipboard
open override val delegatee: JsonSerializer<*>?
Link copied to clipboard
open override val isUnwrappingSerializer: Boolean
Link copied to clipboard
open override val referredType: JavaType?

Functions

Link copied to clipboard
open fun acceptJsonFormatVisitor(visitor: JsonFormatVisitorWrapper?, typeHint: JavaType?)
Link copied to clipboard
open fun createContextual(provider: SerializerProvider?, property: BeanProperty?): JsonSerializer<*>?
Link copied to clipboard
open fun getSchema(provider: SerializerProvider?, typeHint: Type?): JsonNode?
open fun getSchema(provider: SerializerProvider?, typeHint: Type?, isOptional: Boolean): JsonNode?
Link copied to clipboard
open fun handledType(): Class<Option<*>?>?
Link copied to clipboard
open fun isEmpty(value: Option<*>?): Boolean
open fun isEmpty(provider: SerializerProvider?, value: Option<*>?): Boolean
Link copied to clipboard
open fun properties(): Iterator<PropertyWriter?>?
Link copied to clipboard
open fun replaceDelegatee(delegatee: JsonSerializer<*>?): JsonSerializer<Option<*>?>?
Link copied to clipboard
open fun serialize(ref: Option<*>?, g: JsonGenerator?, provider: SerializerProvider?)
Link copied to clipboard
open fun serializeWithType(ref: Option<*>?, g: JsonGenerator?, provider: SerializerProvider?, typeSer: TypeSerializer?)
Link copied to clipboard
open fun unwrappingSerializer(transformer: NameTransformer?): JsonSerializer<Option<*>?>?
Link copied to clipboard
open fun usesObjectId(): Boolean
Link copied to clipboard
open override fun withContentInclusion(suppressableValue: Any?, suppressNulls: Boolean): ReferenceTypeSerializer<Option<*>>
Link copied to clipboard
open fun withFilterId(filterId: Any?): JsonSerializer<*>?
Link copied to clipboard
open fun withIgnoredProperties(ignoredProperties: Set<String?>?): JsonSerializer<*>?
Link copied to clipboard
open fun wrapAndThrow(provider: SerializerProvider?, t: Throwable?, bean: Any?, index: Int)
open fun wrapAndThrow(provider: SerializerProvider?, t: Throwable?, bean: Any?, fieldName: String?)