JsonValue.ValueType
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
Modifier and Type | Method | 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 © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : jsonp-spec@javaee.groups.io