Class IIQObjectSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
-
- com.identityworksllc.iiq.common.vo.IIQObjectSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class IIQObjectSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
A Jackson serializer implementation for any object that can be serialized to XML by IIQ’s XML serializer.The output will be a JSON object with a ‘type’ (the fully qualified class name) and an ‘xml’ (the serialized XML of the input object).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IIQObjectSerializer()
IIQObjectSerializer(Class<Object> t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
-
-
-
-
Constructor Detail
-
IIQObjectSerializer
protected IIQObjectSerializer()
-
IIQObjectSerializer
public IIQObjectSerializer(Class<Object> t)
-
-
Method Detail
-
serialize
public void serialize(Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
- Throws:
IOException
-
-