Uses of Interface
io.avaje.jsonb.Jsonb.Builder
Packages that use Jsonb.Builder
Package
Description
Core API of Jsonb.
Core internal implementation.
SPI for the underlying json parsing and generation.
-
Uses of Jsonb.Builder in io.avaje.jsonb
Methods in io.avaje.jsonb that return Jsonb.BuilderModifier and TypeMethodDescriptionJsonb.Builder.adapter(JsonStreamAdapter streamAdapter) Explicitly set the adapter to use.Jsonb.Builder.add(JsonAdapter.Factory factory) Add a JsonAdapter.Factory which provides JsonAdapters to use.Jsonb.Builder.add(Jsonb.Component component) Add a Component which can provide multiple JsonAdapters and or configuration.<T> Jsonb.BuilderJsonb.Builder.add(Type type, JsonAdapter<T> jsonAdapter) Add a JsonAdapter to use for the given type.Jsonb.Builder.add(Type type, Jsonb.AdapterBuilder builder) Add a AdapterBuilder which provides a JsonAdapter to use for the given type.Jsonb.Builder.failOnUnknown(boolean failOnUnknown) Set failOnUnknown to true such that an exception is thrown when unknown properties are read in the json content.Jsonb.Builder.mathTypesAsString(boolean mathTypesAsString) Set to true for BigDecimal and BigInteger to serialise as String values rather than number values.static Jsonb.BuilderJsonb.newBuilder()Create a new Jsonb.Builder to configure and build the Jsonb instance.Jsonb.Builder.serializeEmpty(boolean serializeEmpty) Set to serialise empty collections or not.Jsonb.Builder.serializeNulls(boolean serializeNulls) Set to serialise null values or not.Methods in io.avaje.jsonb with parameters of type Jsonb.BuilderModifier and TypeMethodDescriptionvoidJsonb.Component.register(Jsonb.Builder builder) Register JsonAdapters with the Builder. -
Uses of Jsonb.Builder in io.avaje.jsonb.core
Methods in io.avaje.jsonb.core that return Jsonb.BuilderModifier and TypeMethodDescriptionstatic Jsonb.BuilderDefaultBootstrap.newBuilder()Create the Jsonb.Builder. -
Uses of Jsonb.Builder in io.avaje.jsonb.spi
Methods in io.avaje.jsonb.spi that return Jsonb.BuilderModifier and TypeMethodDescriptionBootstrap.newBuilder()Create and return a Builder (with an underling SPI implementation).