public class JsonNodeExampleSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Example>
| Constructor and Description |
|---|
JsonNodeExampleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<Example> |
handledType() |
void |
serialize(Example value,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
writeTo(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
Example o) |
void |
writeValue(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
String field,
Example o) |
public void serialize(Example value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<Example>IOExceptionpublic void writeTo(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
Example o)
throws IOException
IOExceptionpublic void writeValue(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
String field,
Example o)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.