Enum Json.Naming

java.lang.Object
java.lang.Enum<Json.Naming>
io.avaje.jsonb.Json.Naming
All Implemented Interfaces:
Serializable, Comparable<Json.Naming>
Enclosing class:
Json

public static enum Json.Naming extends Enum<Json.Naming>
The naming convention that we can use for a given type.
  • Enum Constant Details

    • Match

      public static final Json.Naming Match
    • LowerHyphen

      public static final Json.Naming LowerHyphen
    • LowerUnderscore

      public static final Json.Naming LowerUnderscore
    • LowerSpace

      public static final Json.Naming LowerSpace
    • UpperCamel

      public static final Json.Naming UpperCamel
    • UpperHyphen

      public static final Json.Naming UpperHyphen
    • UpperUnderscore

      public static final Json.Naming UpperUnderscore
    • UpperSpace

      public static final Json.Naming UpperSpace
  • Method Details

    • values

      public static Json.Naming[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Json.Naming valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null