4 * The <code>JSONString</code> interface allows a <code>toJSONString()</code>
5 * method so that a class can change the behavior of
6 * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, and
7 * <code>JSONWriter.value(</code>Object<code>)</code>. The
8 * <code>toJSONString</code> method will be used instead of the default behavior
9 * of using the Object's <code>toString()</code> method and quoting the result.
11 public interface JSONString
14 * The <code>toJSONString</code> method allows a class to produce its own JSON
17 * @return A strictly syntactically correct JSON text.
19 public String toJSONString();