Interface SchemaHolder

All Known Subinterfaces:
JsonAdapter<From,To>, JsonContext, JsonDeserializationContext, JsonSerializationContext, JsonSerializationContext.Array, JsonSerializationContext.Obj, JsonSerializationContext.Primitive
All Known Implementing Classes:
AutoJSON, JsonStringAdapter, JsonStringBuilder, JsonStringParser

public interface SchemaHolder
  • Method Summary

    Modifier and Type
    Method
    Description
    <R> Schema<R>
    schema(Type type)
     
  • Method Details

    • schema

      <R> Schema<R> schema(Type type)
      Type Parameters:
      R - the type that schema supports.
      Parameters:
      type - the type of the schema.
      Returns:
      The schema for the specified type.