Uses of Interface
io.avaje.jsonb.JsonAdapter
Packages that use JsonAdapter
Package
Description
Core API of Jsonb.
SPI for the underlying json parsing and generation.
-
Uses of JsonAdapter in io.avaje.jsonb
Methods in io.avaje.jsonb that return JsonAdapterModifier and TypeMethodDescription<T> JsonAdapter
<T> Return the JsonAdapter used to read and write json for the given class.<T> JsonAdapter
<T> Return the JsonAdapter used to read and write json for the given type.JsonAdapter
<?> Create a JsonAdapter given the Jsonb instance.JsonAdapter
<?> Create and return a JsonAdapter given the type and annotations or return null.default JsonAdapter
<T> JsonAdapter.nullSafe()
Return a null safe version of this adapter.Jsonb.rawAdapter()
Raw JsonAdapter for raw json content.Methods in io.avaje.jsonb with parameters of type JsonAdapterModifier and TypeMethodDescription<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 JsonAdapterModifier and TypeMethodDescriptionvoid
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.