public class UserSerializer extends com.fasterxml.jackson.databind.JsonSerializer<User>
| Constructor and Description |
|---|
UserSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<User> |
handledType() |
void |
serialize(User value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public void serialize(User 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<User>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2015. All rights reserved.