Class ComponentDataModelSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<ComponentData>
com.fasterxml.jackson.databind.ser.std.StdSerializer<ComponentData>
com.adobe.cq.wcm.core.components.models.datalayer.jackson.ComponentDataModelSerializer
- All Implemented Interfaces:
JsonFormatVisitable,SchemaAware,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(ComponentData componentData, JsonGenerator jsonGenerator, SerializerProvider provider) Method that can be called to ask implementation to serialize values of type this serializer handles.Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
acceptJsonFormatVisitor, getSchema, getSchema, handledType, wrapAndThrow, wrapAndThrowMethods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
ComponentDataModelSerializer
public ComponentDataModelSerializer() -
ComponentDataModelSerializer
-
-
Method Details
-
serialize
public void serialize(ComponentData componentData, JsonGenerator jsonGenerator, SerializerProvider provider) throws IOException Description copied from class:JsonSerializerMethod that can be called to ask implementation to serialize values of type this serializer handles.- Specified by:
serializein classStdSerializer<ComponentData>- Parameters:
componentData- Value to serialize; can not be null.jsonGenerator- Generator used to output resulting Json contentprovider- Provider that can be used to get serializers for serializing Objects value contains, if any.- Throws:
IOException
-