Interface SchemaAware
-
- All Known Implementing Classes:
ArraySerializerBase
,AsArraySerializerBase
,AtomicReferenceSerializer
,BeanAsArraySerializer
,BeanSerializer
,BeanSerializerBase
,BooleanSerializer
,ByteArraySerializer
,ByteBufferSerializer
,CalendarSerializer
,ClassSerializer
,CollectionSerializer
,ComponentDataModelSerializer
,ContainerSerializer
,CoreXMLSerializers.XMLGregorianCalendarSerializer
,DateSerializer
,DateTimeSerializerBase
,DOMSerializer
,DurationSerializer
,EnumSerializer
,EnumSetSerializer
,FailingSerializer
,FileSerializer
,IndexedListSerializer
,IndexedStringListSerializer
,InetAddressSerializer
,InetSocketAddressSerializer
,InstantSerializer
,InstantSerializerBase
,IterableSerializer
,IteratorSerializer
,JsonValueSerializer
,LocalDateSerializer
,LocalDateTimeSerializer
,LocalTimeSerializer
,MapEntrySerializer
,MapSerializer
,MonthDaySerializer
,NioPathSerializer
,NonTypedScalarSerializerBase
,NullSerializer
,NumberSerializer
,NumberSerializers.Base
,NumberSerializers.DoubleSerializer
,NumberSerializers.FloatSerializer
,NumberSerializers.IntegerSerializer
,NumberSerializers.IntLikeSerializer
,NumberSerializers.LongSerializer
,NumberSerializers.ShortSerializer
,ObjectArraySerializer
,OffsetDateTimeSerializer
,OffsetTimeSerializer
,RawSerializer
,ReferenceTypeSerializer
,SerializableSerializer
,SqlBlobSerializer
,SqlDateSerializer
,SqlTimeSerializer
,StaticListSerializerBase
,StdArraySerializers.BooleanArraySerializer
,StdArraySerializers.CharArraySerializer
,StdArraySerializers.DoubleArraySerializer
,StdArraySerializers.FloatArraySerializer
,StdArraySerializers.IntArraySerializer
,StdArraySerializers.LongArraySerializer
,StdArraySerializers.ShortArraySerializer
,StdDelegatingSerializer
,StdJdkSerializers.AtomicBooleanSerializer
,StdJdkSerializers.AtomicIntegerSerializer
,StdJdkSerializers.AtomicLongSerializer
,StdKeySerializer
,StdKeySerializers.Default
,StdKeySerializers.Dynamic
,StdKeySerializers.EnumKeySerializer
,StdKeySerializers.StringKeySerializer
,StdScalarSerializer
,StdSerializer
,StringArraySerializer
,StringCollectionSerializer
,StringSerializer
,TimeZoneSerializer
,ToEmptyObjectSerializer
,TokenBufferSerializer
,ToStringSerializer
,ToStringSerializerBase
,UnknownSerializer
,UnsupportedTypeSerializer
,UnwrappingBeanSerializer
,UnwrappingXmlBeanSerializer
,UUIDSerializer
,XmlBeanSerializer
,XmlBeanSerializerBase
,YearMonthSerializer
,YearSerializer
,ZonedDateTimeSerializer
,ZonedDateTimeWithZoneIdSerializer
,ZoneIdSerializer
@Deprecated public interface SchemaAware
Deprecated.Since 2.15, we recommend use of external JSON Schema generator moduleMarker interface for schema-aware serializers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description JsonNode
getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint)
Deprecated.Get the representation of the schema to which this serializer will conform.JsonNode
getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint, boolean isOptional)
Deprecated.Get the representation of the schema to which this serializer will conform.
-
-
-
Method Detail
-
getSchema
JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint) throws JsonMappingException
Deprecated.Get the representation of the schema to which this serializer will conform.- Parameters:
provider
- The serializer provider.typeHint
- A hint about the type.- Returns:
- Json-schema for this serializer.
- Throws:
JsonMappingException
-
getSchema
JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint, boolean isOptional) throws JsonMappingException
Deprecated.Get the representation of the schema to which this serializer will conform.- Parameters:
provider
- The serializer provider.isOptional
- Is the type optionaltypeHint
- A hint about the type.- Returns:
- Json-schema for this serializer.
- Throws:
JsonMappingException
-
-