All Implemented Interfaces:
JsonFormatVisitable, SchemaAware, Serializable

@Deprecated public class StdKeySerializer extends StdSerializer<Object>
Deprecated.
Since 2.8, use StdKeySerializers.Default instead.
Specialized serializer that can be used as the generic key serializer, when serializing Maps to JSON Objects.
See Also:
  • Constructor Details

    • StdKeySerializer

      public StdKeySerializer()
      Deprecated.
  • Method Details

    • serialize

      public void serialize(Object value, JsonGenerator g, SerializerProvider provider) throws IOException
      Deprecated.
      Description copied from class: JsonSerializer
      Method that can be called to ask implementation to serialize values of type this serializer handles.
      Specified by:
      serialize in class StdSerializer<Object>
      Parameters:
      value - Value to serialize; can not be null.
      g - Generator used to output resulting Json content
      provider - Provider that can be used to get serializers for serializing Objects value contains, if any.
      Throws:
      IOException