public class CustomJsonSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
Constructor and Description |
---|
CustomJsonSerializer() |
CustomJsonSerializer(int maxDepth) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<java.lang.Object> |
handledType() |
void |
serialize(java.lang.Object obj,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
public CustomJsonSerializer()
public CustomJsonSerializer(int maxDepth)
public java.lang.Class<java.lang.Object> handledType()
handledType
in class com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
public void serialize(java.lang.Object obj, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2001-2017 Jalios SA. All Rights Reserved.