Class FlowSerializer<T>
java.lang.Object
tools.jackson.databind.ValueSerializer<Consumer<T>>
com.norconex.commons.lang.flow.module.FlowSerializer<T>
- Type Parameters:
T- type type of object being serialized
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Flow serializer.
- Since:
- 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Constructor Summary
ConstructorsConstructorDescriptionFlowSerializer(FlowMapperConfig config, tools.jackson.databind.ValueSerializer<?> defaultSerializer) -
Method Summary
Modifier and TypeMethodDescriptiontools.jackson.databind.ValueSerializer<?> createContextual(tools.jackson.databind.SerializationContext prov, tools.jackson.databind.BeanProperty property) voidresolve(tools.jackson.databind.SerializationContext provider) voidserialize(Consumer<T> value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext sp) Methods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
FlowSerializer
public FlowSerializer(FlowMapperConfig config, tools.jackson.databind.ValueSerializer<?> defaultSerializer)
-
-
Method Details
-
serialize
-
createContextual
public tools.jackson.databind.ValueSerializer<?> createContextual(tools.jackson.databind.SerializationContext prov, tools.jackson.databind.BeanProperty property) throws tools.jackson.databind.DatabindException -
resolve
public void resolve(tools.jackson.databind.SerializationContext provider) throws tools.jackson.databind.DatabindException
-