Interface JsonArrayFormatVisitor

All Superinterfaces:
JsonFormatVisitorWithSerializationContext
All Known Implementing Classes:
JsonArrayFormatVisitor.Base

public interface JsonArrayFormatVisitor extends JsonFormatVisitorWithSerializationContext
  • Method Details

    • itemsFormat

      void itemsFormat(JsonFormatVisitable handler, JavaType elementType)
      Visit method called for structured types, as well as possibly for leaf types (especially if handled by custom serializers).
      Parameters:
      handler - Serializer used, to allow for further callbacks
      elementType - Type of elements in JSON array value
    • itemsFormat

      void itemsFormat(JsonFormatTypes format)
      Visit method that is called if the content type is a simple scalar type like JsonFormatTypes.STRING (but not for structured types like JsonFormatTypes.OBJECT since they would be missing type information).