public class JsonStringSerializer extends org.codehaus.jackson.map.ser.std.SerializerBase<JsonString>
JsonString
s. Could be implemented via JsonRawValue
, but
that breaks encapsulation, and we still have to provide the JsonStringDeserializer
.Constructor and Description |
---|
JsonStringSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(JsonString value,
org.codehaus.jackson.JsonGenerator generator,
org.codehaus.jackson.map.SerializerProvider provider) |
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
public void serialize(JsonString value, org.codehaus.jackson.JsonGenerator generator, org.codehaus.jackson.map.SerializerProvider provider) throws IOException
serialize
in class org.codehaus.jackson.map.ser.std.SerializerBase<JsonString>
IOException
Copyright © 2003–2018 Atlassian. All rights reserved.