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)
| 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 |