Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • 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
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
    • Constructor Detail

      • SimpleClassSerializer

        public SimpleClassSerializer()
    • 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 class com.fasterxml.jackson.databind.ser.std.ClassSerializer
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonGenerationException