io.prestosql.jdbc.$internal.jackson.databind.ser.std.NullSerializer Maven / Gradle / Ivy
The newest version!
package io.prestosql.jdbc.$internal.jackson.databind.ser.std;
import java.lang.reflect.Type;
import java.io.IOException;
import io.prestosql.jdbc.$internal.jackson.core.*;
import io.prestosql.jdbc.$internal.jackson.databind.*;
import io.prestosql.jdbc.$internal.jackson.databind.annotation.JacksonStdImpl;
import io.prestosql.jdbc.$internal.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper;
import io.prestosql.jdbc.$internal.jackson.databind.jsontype.TypeSerializer;
/**
* This is a simple dummy serializer that will just output literal
* JSON null value whenever serialization is requested.
* Used as the default "null serializer" (which is used for serializing
* null object references unless overridden), as well as for some
* more exotic types (java.lang.Void).
*/
@JacksonStdImpl
@SuppressWarnings("serial")
public class NullSerializer
extends StdSerializer