Enum Class JsonValueType

java.lang.Object
java.lang.Enum<JsonValueType>
io.helidon.json.JsonValueType
All Implemented Interfaces:
Serializable, Comparable<JsonValueType>, Constable

public enum JsonValueType extends Enum<JsonValueType>
Enumeration of JSON value types.

This module is incubating. These APIs may change in any version of Helidon, including backward incompatible changes.

  • Enum Constant Details

    • OBJECT

      public static final JsonValueType OBJECT
      Object value type.
    • ARRAY

      public static final JsonValueType ARRAY
      Array value type.
    • STRING

      public static final JsonValueType STRING
      String value type.
    • NUMBER

      public static final JsonValueType NUMBER
      Number value type.
    • BOOLEAN

      public static final JsonValueType BOOLEAN
      Boolean value type.
    • NULL

      public static final JsonValueType NULL
      Null value type.
    • UNKNOWN

      public static final JsonValueType UNKNOWN
      Unknown value type.
  • Method Details

    • values

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

      public static JsonValueType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null