MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / endObject

Method endObject

java/src/org/openqa/selenium/json/JsonInput.java:373–381  ·  view source on GitHub ↗

Process the closing curly brace of a JSON object. @throws UncheckedIOException if an I/O exception is encountered

()

Source from the content-addressed store, hash-verified

371 * @throws UncheckedIOException if an I/O exception is encountered
372 */
373 public void endObject() {
374 expect(JsonType.END_MAP);
375 Container expectation = stack.removeFirst();
376 if (expectation != Container.MAP_NAME) {
377 // The only other thing we could be closing is a map
378 throw new JsonException("Attempt to close a JSON Map, but not ready to. " + input);
379 }
380 input.read();
381 }
382
383 /**
384 * Discard the pending JSON property value.

Callers 15

skipValueMethod · 0.95
canReturnStatusMethod · 0.45
nestedMapIsFineMethod · 0.45
fromJsonMethod · 0.45
fromJsonMethod · 0.45
writeToMethod · 0.45

Calls 2

expectMethod · 0.95
readMethod · 0.65