diff options
| author | 2018-10-03 17:09:53 -0700 | |
|---|---|---|
| committer | 2018-10-03 17:09:53 -0700 | |
| commit | 5569b5757cf76c78567d76686e623b6ac7997fb7 (patch) | |
| tree | 20d2fef05ccff81a94bf58b21d7d42a472f11d1a | |
| parent | 99b669d5cb31cd09cf8cca45317b6b325f71eb5f (diff) | |
| parent | 434a0a537011d24d93b0ea387483368bff161a9e (diff) | |
docs: bug 37077993, object instead of array am: 2cb96ab8a1
am: 434a0a5370
Change-Id: I42ce04dae49f3496c0993e60957137e58abb2d07
| -rw-r--r-- | core/java/android/util/JsonReader.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/util/JsonReader.java b/core/java/android/util/JsonReader.java index 7d1c6c4918db..50f63f8db304 100644 --- a/core/java/android/util/JsonReader.java +++ b/core/java/android/util/JsonReader.java @@ -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); |