MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / write

Method write

src/main/java/com/volmit/adapt/util/JSONObject.java:1573–1575  ·  view source on GitHub ↗

Write the contents of the JSONObject as JSON text to a writer. For compactness, no whitespace is added. Warning: This method assumes that the data structure is acyclical. @return The writer.

(Writer writer)

Source from the content-addressed store, hash-verified

1571 * @return The writer.
1572 */
1573 public Writer write(Writer writer) throws JSONException {
1574 return this.write(writer, 0, 0);
1575 }
1576
1577 /**
1578 * Write the contents of the JSONObject as JSON text to a writer. For

Callers 1

toStringMethod · 0.95

Calls 10

lengthMethod · 0.95
keysMethod · 0.95
quoteMethod · 0.95
writeValueMethod · 0.95
indentMethod · 0.95
writeMethod · 0.65
nextMethod · 0.65
getMethod · 0.65
hasNextMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected