Write the contents of the JSONArray 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)
| 963 | * @return The writer. |
| 964 | */ |
| 965 | public Writer write(Writer writer) throws JSONException { |
| 966 | return this.write(writer, 0, 0); |
| 967 | } |
| 968 | |
| 969 | /** |
| 970 | * Write the contents of the JSONArray as JSON text to a writer. For |