public class JSONStringValue extends JSONValue
| Modifier and Type | Method and Description |
|---|---|
static JSONStringValue |
fromString(java.lang.String stringValue)
Factory method to create a
JSONStringValue and initialize it with given string. |
java.lang.String |
getValue()
Get the underlying string.
|
boolean |
isString()
Get a boolean indicating whether this instance represents a JSON string value or not.
|
public static JSONStringValue fromString(java.lang.String stringValue)
JSONStringValue and initialize it with given string.stringValue - The string value used for initializing this instance.JSONStringValue or null if argument is null.public boolean isString()
JSONValuepublic java.lang.String getValue()