Uses of Class
jakarta.json.bind.JsonbConfig
Package
Description
Provides JSON Binding API, which enables binding Java objects from and to
JSON documents.
-
Uses of JsonbConfig in jakarta.json.bind
Modifier and TypeMethodDescriptionfinal JsonbConfig
JsonbConfig.setProperty
(String name, Object value) Set the particular configuration property to a new value.final JsonbConfig
JsonbConfig.withAdapters
(JsonbAdapter... adapters) Property used to specify custom mapping adapters.final JsonbConfig
JsonbConfig.withBinaryDataStrategy
(String binaryDataStrategy) Property used to specify custom binary data strategy.final JsonbConfig
JsonbConfig.withCreatorParametersRequired
(boolean requiredParameters) Property used to specify whether all creator parameters should be treated as required.final JsonbConfig
JsonbConfig.withDateFormat
(String dateFormat, Locale locale) Property used to specify custom date format.final JsonbConfig
JsonbConfig.withDeserializers
(JsonbDeserializer... deserializers) Property used to specify custom deserializers.final JsonbConfig
JsonbConfig.withEncoding
(String encoding) The binding operations will default to this property for encoding of JSON data.final JsonbConfig
JsonbConfig.withFormatting
(Boolean formatted) Property used to specify whether or not the serialized JSON data is formatted with linefeeds and indentation.final JsonbConfig
JsonbConfig.withLocale
(Locale locale) Property used to specify custom locale.final JsonbConfig
JsonbConfig.withNullValues
(Boolean serializeNullValues) Property used to specify whether null values should be serialized to JSON document or skipped.final JsonbConfig
JsonbConfig.withPropertyNamingStrategy
(PropertyNamingStrategy propertyNamingStrategy) Property used to specify custom naming strategy.final JsonbConfig
JsonbConfig.withPropertyNamingStrategy
(String propertyNamingStrategy) Property used to specify custom naming strategy.final JsonbConfig
JsonbConfig.withPropertyOrderStrategy
(String propertyOrderStrategy) Property used to specify property order strategy.final JsonbConfig
JsonbConfig.withPropertyVisibilityStrategy
(PropertyVisibilityStrategy propertyVisibilityStrategy) Property used to specify custom property visibility strategy.final JsonbConfig
JsonbConfig.withSerializers
(JsonbSerializer... serializers) Property used to specify custom serializers.final JsonbConfig
JsonbConfig.withStrictIJSON
(Boolean enabled) Property used to specify whether strict I-JSON serialization compliance should be enforced.Modifier and TypeMethodDescriptionstatic Jsonb
JsonbBuilder.create
(JsonbConfig config) Create a newJsonb
instance using the defaultJsonbBuilder
implementation provided as returned fromJsonbProvider.provider()
method, configured with provided configuration.JsonbBuilder.withConfig
(JsonbConfig config) Set configuration which will be set to the newly createdJsonb
instance.