Writes the JSON element to the writer, recursively.
(JsonElement element, JsonWriter writer)
| 67 | |
| 68 | /** Writes the JSON element to the writer, recursively. */ |
| 69 | public static void write(JsonElement element, JsonWriter writer) throws IOException { |
| 70 | JsonElementTypeAdapter.ADAPTER.write(writer, element); |
| 71 | } |
| 72 | |
| 73 | public static Writer writerForAppendable(Appendable appendable) { |
| 74 | return appendable instanceof Writer ? (Writer) appendable : new AppendableWriter(appendable); |
no outgoing calls