Package com.ibm.ima.plugin.util
Enum Class ImaJson.JObject
- All Implemented Interfaces:
Serializable,Comparable<ImaJson.JObject>,Constable
- Enclosing class:
ImaJson
JSON object entry type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJSON array, count is number of entriesJSON false, value is not setA number with no decimal point.JSON null, value is not setNumber which is too big or has a fractional partJSON object, count is number of entriesJSON string, value is UTF-8JSON true, value is not set -
Method Summary
Modifier and TypeMethodDescriptionstatic ImaJson.JObjectReturns the enum constant of this class with the specified name.static ImaJson.JObject[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JsonString
JSON string, value is UTF-8 -
JsonInteger
A number with no decimal point. The value is in count -
JsonNumber
Number which is too big or has a fractional part -
JsonObject
JSON object, count is number of entries -
JsonArray
JSON array, count is number of entries -
JsonTrue
JSON true, value is not set -
JsonFalse
JSON false, value is not set -
JsonNull
JSON null, value is not set
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-