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

Method endObject

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

430 * @throws UncheckedIOException if an I/O exception is encountered
431 */
432 public void endObject() {
433 expect(JsonType.END_MAP);
434 if (stack.peekFirst() != Container.MAP_NAME) {
435 throw new JsonException("Attempt to close a JSON Map, but not ready to. " + input);
436 }
437 stack.removeFirst();
438 containerHasElement.removeFirst();
439 input.read();
440 }
441
442 /**
443 * Discard the pending JSON property value.

Calls 2

expectMethod · 0.95
readMethod · 0.65