java.lang.Object
java.lang.Enum<JsonType>
com.inductiveautomation.ignition.common.jsonschema.JsonType
All Implemented Interfaces:
Serializable, Comparable<JsonType>, Constable

public enum JsonType extends Enum<JsonType>
  • Enum Constant Details

    • OBJECT

      public static final JsonType OBJECT
    • ARRAY

      public static final JsonType ARRAY
    • STRING

      public static final JsonType STRING
    • NUMBER

      public static final JsonType NUMBER
    • INTEGER

      public static final JsonType INTEGER
    • BOOLEAN

      public static final JsonType BOOLEAN
    • NULL

      public static final JsonType NULL
    • DATASET

      public static final JsonType DATASET
    • DATE

      public static final JsonType DATE
    • UNKNOWN

      public static final JsonType UNKNOWN
  • Method Details

    • values

      public static JsonType[] 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 JsonType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<JsonType>
    • typeOf

      public static JsonType typeOf(com.inductiveautomation.ignition.common.gson.JsonElement element)