docs: bug 37077993, object instead of array

also fixing import order to get past repo hooks

Test: make ds-docs

Bug: 37077993

Change-Id: I0a0d6338f714108eb632caacc6dda4b422dc697b
Exempt-From-Owner-Approval: Docs-only change
This commit is contained in:
kopriva
2018-10-03 14:10:27 -07:00
parent 3fbe56647c
commit 2cb96ab8a1

View File

@@ -16,13 +16,15 @@
package android.util;
import libcore.internal.StringPool;
import java.io.Closeable;
import java.io.EOFException;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import libcore.internal.StringPool;
/**
* Reads a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>)
@@ -295,7 +297,7 @@ public final class JsonReader implements Closeable {
/**
* Consumes the next token from the JSON stream and asserts that it is the
* end of the current array.
* end of the current object.
*/
public void endObject() throws IOException {
expect(JsonToken.END_OBJECT);