Class OrneBeansJsonbConfig

java.lang.Object
dev.orne.beans.jsonb.OrneBeansJsonbConfig

@API(status=MAINTAINED, since="0.7") public final class OrneBeansJsonbConfig extends Object
Utility class for JSON-B configuration.
Since:
0.7
Version:
1.0, 2024-03
Author:
(w) Iker Hernaez
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull jakarta.json.bind.adapter.JsonbAdapter[]
    Returns the JSON-B adapters provided by the library.
    static @NotNull jakarta.json.bind.JsonbConfig
    configure(@NotNull jakarta.json.bind.JsonbConfig config)
    Configures specified JSON-B configuration with all JSON-B features provided by the library.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.