Package dev.drtheo.autojson.schema.base
Interface ArraySchema.Simple<T>
- Type Parameters:
T- the object type this schema serializes.
- All Superinterfaces:
ArraySchema<T,,T> Schema<T>
- All Known Implementing Classes:
JavaListSchema,JavaSetSchema
- Enclosing interface:
- ArraySchema<T,
Intermediary>
A utility class that implements
ArraySchema without
an intermediary value.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.drtheo.autojson.schema.base.ArraySchema
ArraySchema.Simple<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault TConverts theArraySchematype into the builtArraySchematype.Methods inherited from interface dev.drtheo.autojson.schema.base.ArraySchema
deserialize, instantiate, serialize, serialize, typeMethods inherited from interface dev.drtheo.autojson.schema.base.Schema
asArray, asObject, asPrimitive
-
Method Details
-
pack
Description copied from interface:ArraySchemaConverts theArraySchematype into the builtArraySchematype.- Specified by:
packin interfaceArraySchema<T,T> - Parameters:
obj- theArraySchemaobject.- Returns:
- the built
ArraySchemaobject.
-