org.xerial.json
Class JSONString
java.lang.Object
org.xerial.json.JSONValueBase
org.xerial.json.JSONString
- All Implemented Interfaces:
- JSONValue
public class JSONString
- extends JSONValueBase
JSONString
public JSONString()
JSONString
public JSONString(String s)
toString
public String toString()
- Overrides:
toString in class Object
toJSONString
public String toJSONString()
- Description copied from interface:
JSONValue
- Produces output of the JSON format of this value
- Specified by:
toJSONString in interface JSONValue- Overrides:
toJSONString in class JSONValueBase
- Returns:
- the JSON output
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getJSONString
public JSONString getJSONString()
- Specified by:
getJSONString in interface JSONValue- Overrides:
getJSONString in class JSONValueBase
- Returns:
- JSONString representation of this object if this instance is a JSONString, otherwise null
getValue
public String getValue()
getValueType
public JSONValueType getValueType()
- Description copied from interface:
JSONValue
- Gets the JSON value type of this value
- Returns:
- the
JSONValueType

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.