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.JsonMappingExceptionJsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional) throws JsonMappingException
provider - The serializer provider.isOptional - Is the type optionaltypeHint - A hint about the type.JsonMappingExceptionCopyright © 2008–2020 FasterXML. All rights reserved.