Enum Class JSONNode.Type

java.lang.Object
java.lang.Enum<JSONNode.Type>
oracle.dbtools.plugin.api.json.objects.JSONNode.Type
All Implemented Interfaces:
Serializable, Comparable<JSONNode.Type>, Constable
Enclosing interface:
JSONNode

public static enum JSONNode.Type extends Enum<JSONNode.Type>
The type of node in the object hierarchy
Author:
cdivilly
  • Enum Constant Details

    • ARRAY

      public static final JSONNode.Type ARRAY
      A JSON array, a series of values enclosed in square braces
    • OBJECT

      public static final JSONNode.Type OBJECT
      A JSON object, a series of key value pairs enclosed in curly braces
  • Method Details

    • values

      public static JSONNode.Type[] 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 JSONNode.Type valueOf<wbr>(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