Searched refs:JsonToken (Results 1 – 6 of 6) sorted by relevance
200 private JsonToken token;256 expect(JsonToken.BEGIN_ARRAY); in beginArray()264 expect(JsonToken.END_ARRAY); in endArray()272 expect(JsonToken.BEGIN_OBJECT); in beginObject()280 expect(JsonToken.END_OBJECT); in endObject()286 private void expect(JsonToken expected) throws IOException { in expect()299 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY; in hasNext()305 public JsonToken peek() throws IOException { in peek()313 JsonToken firstToken = nextValue(); in peek()314 if (token != JsonToken.BEGIN_ARRAY && token != JsonToken.BEGIN_OBJECT) { in peek()[all …]
22 public enum JsonToken { enum
25 import android.util.JsonToken;51 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadArray()60 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyArray()73 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadObject()82 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyObject()95 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipObject()119 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipAfterEndOfDocument()142 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testHelloWorld()209 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testCharacterUnescaping()255 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testDoubles()[all …]
9 import android.util.JsonToken68 while (reader.peek() !== JsonToken.END_DOCUMENT) { in registerDevice()
29 import android.util.JsonToken;101 while (mReader.peek() != JsonToken.END_DOCUMENT) { in VirtualInputDevice()
49983 method public android.util.JsonToken peek() throws java.io.IOException;49988 public enum JsonToken {49989 enum_constant public static final android.util.JsonToken BEGIN_ARRAY;49990 enum_constant public static final android.util.JsonToken BEGIN_OBJECT;49991 enum_constant public static final android.util.JsonToken BOOLEAN;49992 enum_constant public static final android.util.JsonToken END_ARRAY;49993 enum_constant public static final android.util.JsonToken END_DOCUMENT;49994 enum_constant public static final android.util.JsonToken END_OBJECT;49995 enum_constant public static final android.util.JsonToken NAME;49996 enum_constant public static final android.util.JsonToken NULL;[all …]