MCPcopy Index your code
hub / github.com/google/gson / beginObject

Method beginObject

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

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

()

Source from the content-addressed store, hash-verified

303 * beginning of a new object.
304 */
305 public void beginObject() throws IOException {
306 expect(JsonToken.BEGIN_OBJECT);
307 }
308
309 /**
310 * Consumes the next token from the JSON stream and asserts that it is the

Callers 15

testReadInvalidStateMethod · 0.95
testReadObjectMethod · 0.95
testReadEmptyObjectMethod · 0.95
testSkipObjectMethod · 0.95
testHelloWorldMethod · 0.95
testMissingValueMethod · 0.95
testPrematurelyClosedMethod · 0.95

Calls 1

expectMethod · 0.95

Tested by 15

testReadInvalidStateMethod · 0.76
testReadObjectMethod · 0.76
testReadEmptyObjectMethod · 0.76
testSkipObjectMethod · 0.76
testHelloWorldMethod · 0.76
testMissingValueMethod · 0.76
testPrematurelyClosedMethod · 0.76