public interface SchemaAware
Modifier and Type | Method and Description |
---|---|
JsonNode |
getSchema(SerializerProvider provider,
Type typeHint)
Get the representation of the schema to which this serializer will conform.
|
JsonNode |
getSchema(SerializerProvider provider,
Type typeHint,
boolean isOptional)
Get the representation of the schema to which this serializer will conform.
|
JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException
provider
- The serializer provider.typeHint
- A hint about the type.JsonMappingException
JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional) throws JsonMappingException
provider
- The serializer provider.isOptional
- Is the type optionaltypeHint
- A hint about the type.JsonMappingException
Copyright © 2008–2021 FasterXML. All rights reserved.