Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5569b575 authored by kopriva's avatar kopriva Committed by android-build-merger
Browse files

docs: bug 37077993, object instead of array am: 2cb96ab8

am: 434a0a53

Change-Id: I42ce04dae49f3496c0993e60957137e58abb2d07
parents 99b669d5 434a0a53
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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);