MCPcopy
hub / github.com/google/gson / beginArray

Method beginArray

src/main/java/com/google/gson/stream/JsonReader.java:289–291  ·  view source on GitHub ↗

Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.

()

Source from the content-addressed store, hash-verified

287 * beginning of a new array.
288 */
289 public void beginArray() throws IOException {
290 expect(JsonToken.BEGIN_ARRAY);
291 }
292
293 /**
294 * Consumes the next token from the JSON stream and asserts that it is the

Callers 15

testReadMixedStreamedMethod · 0.95
testReadInvalidStateMethod · 0.95
testReadArrayMethod · 0.95
testReadEmptyArrayMethod · 0.95
testHelloWorldMethod · 0.95
testDoublesMethod · 0.95
testLongsMethod · 0.95

Calls 1

expectMethod · 0.95

Tested by 15

testReadMixedStreamedMethod · 0.76
testReadInvalidStateMethod · 0.76
testReadArrayMethod · 0.76
testReadEmptyArrayMethod · 0.76
testHelloWorldMethod · 0.76
testDoublesMethod · 0.76
testLongsMethod · 0.76