Uses of Class
io.avaje.jsonb.JsonAdapter
-
Packages that use JsonAdapter Package Description io.avaje.jsonb Core API of Jsonb.io.avaje.jsonb.spi SPI for the underlying json parsing and generation. -
-
Uses of JsonAdapter in io.avaje.jsonb
Methods in io.avaje.jsonb that return JsonAdapter Modifier and Type Method Description <T> JsonAdapter<T>
Jsonb. adapter(Class<T> cls)
Return the JsonAdapter used to read and write json for the given class.<T> JsonAdapter<T>
Jsonb. adapter(Type type)
Return the JsonAdapter used to read and write json for the given type.JsonAdapter<?>
Jsonb.AdapterBuilder. build(Jsonb jsonb)
Create a JsonAdapter given the Jsonb instance.JsonAdapter<?>
JsonAdapter.Factory. create(Type type, Jsonb jsonb)
Create and return a JsonAdapter given the type and annotations or return null.JsonAdapter<T>
JsonAdapter. nullSafe()
Return a null safe version of this adapter.JsonAdapter<String>
Jsonb. rawAdapter()
Raw JsonAdapter for raw json content.Methods in io.avaje.jsonb with parameters of type JsonAdapter Modifier and Type Method Description <T> Jsonb.Builder
Jsonb.Builder. add(Type type, JsonAdapter<T> jsonAdapter)
Add a JsonAdapter to use for the given type. -
Uses of JsonAdapter in io.avaje.jsonb.spi
Methods in io.avaje.jsonb.spi with parameters of type JsonAdapter Modifier and Type Method Description void
ViewBuilder. add(String name, JsonAdapter<?> adapter, MethodHandle methodHandle)
Add a json property entry.void
ViewBuilder. addArray(String name, JsonAdapter<?> adapter, MethodHandle methodHandle)
Add a nested json array.
-