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