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 jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
writeTo(com.fasterxml.jackson.core.JsonGenerator jgen,
Example o) |
void |
writeValue(com.fasterxml.jackson.core.JsonGenerator jgen,
String field,
Example o) |
public void serialize(Example value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<Example>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic void writeTo(com.fasterxml.jackson.core.JsonGenerator jgen,
Example o)
throws IOException
IOExceptionpublic void writeValue(com.fasterxml.jackson.core.JsonGenerator jgen,
String field,
Example o)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.