JsonValue.ValueTypeEMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this
JsonString for equality. |
java.lang.CharSequence |
getChars()
Returns the char sequence for the JSON String value
|
java.lang.String |
getString()
Returns the JSON string value.
|
int |
hashCode()
Returns the hash code value for this
JsonString object. |
asJsonArray, asJsonObject, getValueType, toStringjava.lang.String getString()
java.lang.CharSequence getChars()
boolean equals(java.lang.Object obj)
JsonString for equality.
Returns true if and only if the specified object is also a
JsonString, and their getString() objects are
equal.equals in class java.lang.Objectobj - the object to be compared for equality with this
JsonStringtrue if the specified object is equal to this
JsonStringint hashCode()
JsonString object.
The hash code of a JsonString object is defined to be its
getString() object's hash code.hashCode in class java.lang.ObjectJsonString object