Class NoOpTypeSerializer

java.lang.Object
tools.jackson.databind.jsontype.TypeSerializer
tools.jackson.databind.jsontype.impl.NoOpTypeSerializer

public class NoOpTypeSerializer extends TypeSerializer
Special TypeSerializer implementation used to explicitly block type serialization. This is used when a property or class is annotated with @JsonTypeInfo(use = Id.NONE), indicating that type information should not be included even if the value type has a class-level type info annotation.

Unlike returning null (which means "no special type handling, use defaults"), this actively prevents type information from being written.

Since:
3.1