public interface SchemaAware
Modifier and Type | Method and Description |
---|---|
JsonNode |
getSchema(SerializerProvider provider,
java.lang.reflect.Type typeHint)
Get the representation of the schema to which this serializer will conform.
|
JsonNode |
getSchema(SerializerProvider provider,
java.lang.reflect.Type typeHint,
boolean isOptional)
Get the representation of the schema to which this serializer will conform.
|
JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint) throws JsonMappingException
provider
- The serializer provider.typeHint
- A hint about the type.JsonMappingException
JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint, boolean isOptional) throws JsonMappingException
provider
- The serializer provider.isOptional
- Is the type optionaltypeHint
- A hint about the type.JsonMappingException
Copyright © 2010 - 2020 Adobe. All Rights Reserved