com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-databind Show documentation
Show all versions of jackson-databind Show documentation
General data-binding functionality for Jackson: works on core streaming API
package com.fasterxml.jackson.databind.jsonFormatVisitors;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonMappingException;
/**
* Marker interface for schema-aware serializers.
*/
public interface JsonFormatVisitable
{
/**
* Get the representation of the schema to which this serializer will conform.
* @param typeHint Type of element (entity like property) being visited
*
* @returns Json-schema for this serializer.
*/
public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint)
throws JsonMappingException;
}