JsonValue.ValueType
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this
JsonString for equality. |
CharSequence |
getChars()
Returns the char sequence for the JSON String value
|
String |
getString()
Returns the JSON string value.
|
int |
hashCode()
Returns the hash code value for this
JsonString object. |
asJsonArray, asJsonObject, getValueType, toString
String getString()
CharSequence getChars()
boolean equals(Object obj)
JsonString
for equality.
Returns true
if and only if the specified object is also a
JsonString
, and their getString()
objects are
equal.int hashCode()
JsonString
object.
The hash code of a JsonString
object is defined to be its
getString()
object's hash code.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.