• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.fasterxml.jackson.databind.jsonFormatVisitors;
2 
3 import com.fasterxml.jackson.databind.JavaType;
4 import com.fasterxml.jackson.databind.JsonMappingException;
5 
6 /**
7  * Interface {@link com.fasterxml.jackson.databind.JsonSerializer} implements
8  * to allow for visiting type hierarchy.
9  */
10 public interface JsonFormatVisitable
11 {
12     /**
13      * Get the representation of the schema to which this serializer will conform.
14      *
15      * @param typeHint Type of element (entity like property) being visited
16      */
acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint)17     public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint)
18         throws JsonMappingException;
19 }
20