public class JsonNodeExampleSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Example>
| Constructor and Description |
|---|
JsonNodeExampleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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,
java.lang.String field,
Example o) |
public void serialize(Example value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<Example>java.io.IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic void writeTo(com.fasterxml.jackson.core.JsonGenerator jgen,
Example o)
throws java.io.IOException
java.io.IOExceptionpublic void writeValue(com.fasterxml.jackson.core.JsonGenerator jgen,
java.lang.String field,
Example o)
throws java.io.IOException
java.io.IOExceptionCopyright © 2019. All Rights Reserved.