Merge pull request #706 from google/623
Fixed javadoc for JsonWriter as reported in
This commit is contained in:
commit
8e1da9cf1a
@ -77,7 +77,7 @@ import static com.google.gson.stream.JsonScope.NONEMPTY_OBJECT;
|
||||
* This code encodes the above structure: <pre> {@code
|
||||
* public void writeJsonStream(OutputStream out, List<Message> messages) throws IOException {
|
||||
* JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8"));
|
||||
* writer.setIndentSpaces(4);
|
||||
* writer.setIndent(" ");
|
||||
* writeMessagesArray(writer, messages);
|
||||
* writer.close();
|
||||
* }
|
||||
|
Loading…
Reference in New Issue
Block a user