public class SimpleClassKeySerializer
extends com.fasterxml.jackson.databind.ser.std.StdKeySerializer
SimpleClassKeySerializer
is a JsonSerializer
for Class
es as Map keys, which utilises the SimpleClassNameIdResolver
to
allow simple class names to be used.Constructor and Description |
---|
SimpleClassKeySerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(Object value,
com.fasterxml.jackson.core.JsonGenerator g,
com.fasterxml.jackson.databind.SerializerProvider provider) |
acceptJsonFormatVisitor, getSchema
getSchema, handledType, wrapAndThrow, wrapAndThrow
public void serialize(Object value, com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.ser.std.StdKeySerializer
IOException
Copyright © 2021. All rights reserved.