Process the closing curly brace of a JSON object. @throws UncheckedIOException if an I/O exception is encountered
()
| 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. |