public static class Json.StrinG extends java.lang.Object implements Json.Value
Notice that the last letter of the class name is capitalized to avoid confusion with String.
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
text
The (decoded) text of the JSON string.
|
| Constructor and Description |
|---|
StrinG(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Json.ValueVisitor visitor)
Invokes the value type-specific '
visit...()' method of Json.ValueVisitor. |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public void accept(Json.ValueVisitor visitor)
Json.Valuevisit...()' method of Json.ValueVisitor.accept in interface Json.Valuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(@Nullable java.lang.Object obj)
equals in class java.lang.Object