Package dev.orne.beans.jsonb
Class OrneBeansJsonbConfig
java.lang.Object
dev.orne.beans.jsonb.OrneBeansJsonbConfig
Utility class for JSON-B configuration.
- Since:
- 0.7
- Version:
- 1.0, 2024-03
- Author:
- (w) Iker Hernaez
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull jakarta.json.bind.adapter.JsonbAdapter[]adapters()Returns the JSON-B adapters provided by the library.static @NotNull jakarta.json.bind.JsonbConfigconfigure(@NotNull jakarta.json.bind.JsonbConfig config) Configures specified JSON-B configuration with all JSON-B features provided by the library.
-
Method Details
-
configure
@NotNull public static @NotNull jakarta.json.bind.JsonbConfig configure(@NotNull @NotNull jakarta.json.bind.JsonbConfig config) Configures specified JSON-B configuration with all JSON-B features provided by the library.- Parameters:
config- The JSON-B configuration.- Returns:
- The JSON-B configuration.
-
adapters
@API(status=EXPERIMENTAL, since="0.7") @NotNull public static @NotNull jakarta.json.bind.adapter.JsonbAdapter[] adapters()Returns the JSON-B adapters provided by the library.- Returns:
- The JSON-B adapters provided by the library.
-