Package dev.drtheo.autojson.adapter
Interface JsonContext
- All Superinterfaces:
SchemaHolder
- All Known Subinterfaces:
JsonAdapter<From,,To> JsonDeserializationContext,JsonSerializationContext,JsonSerializationContext.Array,JsonSerializationContext.Obj,JsonSerializationContext.Primitive
- All Known Implementing Classes:
JsonStringAdapter,JsonStringBuilder,JsonStringParser
The context. Implemented by
JsonSerializationContext and JsonDeserializationContext.-
Method Summary
-
Method Details
-
auto
AutoJSON auto()- Returns:
- The
AutoJSONinstance used by the context.
-
schemaHolder
-
schema
- Specified by:
schemain interfaceSchemaHolder- Type Parameters:
T- the type that schema supports.- Parameters:
type- the type of the schema.- Returns:
- The schema for the specified type.
-