Package dev.drtheo.autojson.adapter
Interface JsonSerializationContext.Array
-
- All Implemented Interfaces:
-
dev.drtheo.autojson.SchemaHolder,dev.drtheo.autojson.adapter.JsonContext
public interface JsonSerializationContext.Array implements JsonContext
-
-
Method Summary
Modifier and Type Method Description JsonSerializationContext.Arrayarray$element(Object value)Puts a value in the currently building array. JsonSerializationContext.Arrayarray$element(Object value, Type type)Puts a value in the currently building array. abstract <T> JsonSerializationContext.Arrayarray$element(T value, Type type, Schema<T> schema)abstract JsonSerializationContext.Builtarray$build()-
Methods inherited from class dev.drtheo.autojson.adapter.JsonContext
auto, schema, schemaHolder -
Methods inherited from class dev.drtheo.autojson.SchemaHolder
schema -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
array$element
JsonSerializationContext.Array array$element(Object value)
Puts a value in the currently building array.
- Parameters:
value- the value to put.- Returns:
The array context.
-
array$element
JsonSerializationContext.Array array$element(Object value, Type type)
Puts a value in the currently building array.
- Parameters:
value- the value to put.type- the type of the value.- Returns:
The array context.
-
array$element
abstract <T> JsonSerializationContext.Array array$element(T value, Type type, Schema<T> schema)
-
array$build
abstract JsonSerializationContext.Built array$build()
-
-
-
-