public class JsonString extends JsonPrimitive
Constructor and Description |
---|
JsonString(String string) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
JsonString |
getAsString() |
int |
hashCode() |
boolean |
isString() |
String |
value() |
void |
visit(JsonVisitor visitor) |
getAsArray, getAsBoolean, getAsNumber, getAsObject, isArray, isBoolean, isNull, isNumber, isObject, isPrimitive, output, toString
public JsonString(String string)
public JsonString getAsString()
getAsString
in class JsonValue
public String value()
public void visit(JsonVisitor visitor)
Licenced under the Apache License, Version 2.0