MCPcopy Index your code
hub / github.com/MCBans/MCBans / JSONString

Interface JSONString

src/main/java/com/mcbans/plugin/org/json/JSONString.java:10–18  ·  view source on GitHub ↗

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 use

Source from the content-addressed store, hash-verified

8 * of using the Object's <code>toString()</code> method and quoting the result.
9 */
10public interface JSONString {
11 /**
12 * The <code>toJSONString</code> method allows a class to produce its own JSON
13 * serialization.
14 *
15 * @return A strictly syntactically correct JSON text.
16 */
17 public String toJSONString();
18}

Callers 1

valueToStringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected