MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / endObject

Method endObject

java/src/org/openqa/selenium/json/JsonInput.java:597–604  ·  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

595 * @throws UncheckedIOException if an I/O exception is encountered
596 */
597 public void endObject() {
598 expect(JsonType.END_MAP);
599 if (topContainer() != MAP_NAME) {
600 throw new JsonException("Attempt to close a JSON Map, but not ready to. " + input);
601 }
602 containerDepth--;
603 input.read();
604 }
605
606 /**
607 * Discard the pending JSON property value.

Calls 3

expectMethod · 0.95
topContainerMethod · 0.95
readMethod · 0.65