Package io.avaje.jsonb.spi
Interface AdapterFactory
-
public interface AdapterFactory
Factory that is service loaded to create the adapter for underlying json parsing and generation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonStreamAdaptercreate(boolean serializeNulls, boolean serializeEmpty, boolean failOnUnknown)Create the adapter to use for the underlying json parsing and generation.
-
-
-
Method Detail
-
create
JsonStreamAdapter create(boolean serializeNulls, boolean serializeEmpty, boolean failOnUnknown)
Create the adapter to use for the underlying json parsing and generation.- Parameters:
serializeNulls- The default setting for serializing nullsserializeEmpty- The default setting for serializing empty arraysfailOnUnknown- The default setting for fail when deserializing unknown properties- Returns:
- The adapter to use
-
-