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