org.openapitools.jackson.nullable.JsonNullableSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-databind-nullable Show documentation
Show all versions of jackson-databind-nullable Show documentation
JsonNullable wrapper class and Jackson module to support fields with meaningful null values.
package org.openapitools.jackson.nullable;
import com.fasterxml.jackson.databind.BeanProperty;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.jsontype.TypeSerializer;
import com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer;
import com.fasterxml.jackson.databind.type.ReferenceType;
import com.fasterxml.jackson.databind.util.NameTransformer;
public class JsonNullableSerializer extends ReferenceTypeSerializer> {
private static final long serialVersionUID = 1L;
/*
/**********************************************************
/* Constructors, factory methods
/**********************************************************
*/
protected JsonNullableSerializer(ReferenceType fullType, boolean staticTyping,
TypeSerializer vts, JsonSerializer
© 2015 - 2024 Weber Informatics LLC | Privacy Policy