com.restfb.json
Interface JsonString
public interface JsonString
The JsonString
interface allows a toJSONString()
method so that a class can change the behavior of
JsonObject.toString()
, JsonArray.toString()
, and
JsonWriter.value(
Object)
. The
toJSONString
method will be used instead of the default behavior
of using the Object's toString()
method and quoting the result.
Method Summary |
String |
toJsonString()
The toJSONString method allows a class to produce its own JSON
serialization. |
toJsonString
String toJsonString()
- The
toJSONString
method allows a class to produce its own JSON
serialization.
- Returns:
- A strictly syntactically correct JSON text.
RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.