org.apache.tapestry5.json
Interface JSONString
- All Known Implementing Classes:
- JSONLiteral
public interface JSONString
An interface that allows an object to be stored as a JSONObject
or JSONArray
value.
When printed, the value of toJSONString()
is printed without quotes or other substitution; it
is the responsibility of the object to provide proper JSON output.
Method Summary |
java.lang.String |
toJSONString()
The toJSONString method allows a class to produce its own JSON serialization. |
toJSONString
java.lang.String toJSONString()
- The
toJSONString
method allows a class to produce its own JSON serialization.
- Returns:
- A strictly syntactically correct JSON text.
Copyright © 2003-2012 The Apache Software Foundation.