Class SimpleClassSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Class<?>>
-
- com.fasterxml.jackson.databind.ser.std.ClassSerializer
-
- uk.gov.gchq.koryphe.serialisation.json.SimpleClassSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class SimpleClassSerializer extends com.fasterxml.jackson.databind.ser.std.ClassSerializer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleClassSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.module.SimpleModule
getModule()
void
serialize(Class<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.ClassSerializer
acceptJsonFormatVisitor, getSchema
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
serializeWithType
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
getSchema, handledType, wrapAndThrow, wrapAndThrow
-
-
-
-
Method Detail
-
getModule
public static com.fasterxml.jackson.databind.module.SimpleModule getModule()
-
serialize
public void serialize(Class<?> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
- Overrides:
serialize
in classcom.fasterxml.jackson.databind.ser.std.ClassSerializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
-