Package org.h2.util.json
Class JSONString
- java.lang.Object
-
- org.h2.util.json.JSONValue
-
- org.h2.util.json.JSONString
-
public class JSONString extends JSONValue
JSON string.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description JSONString(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTo(JSONTarget<?> target)
Appends this value to the specified target.java.lang.String
getString()
Returns the value.
-
-
-
Method Detail
-
addTo
public void addTo(JSONTarget<?> target)
Description copied from class:JSONValue
Appends this value to the specified target.
-
getString
public java.lang.String getString()
Returns the value.- Returns:
- the value
-
-