{@inheritDoc} @throws UncheckedIOException if an I/O exception is encountered
()
| 123 | * @throws UncheckedIOException if an I/O exception is encountered |
| 124 | */ |
| 125 | @Override |
| 126 | public void close() { |
| 127 | if (source == null) { |
| 128 | return; |
| 129 | } |
| 130 | |
| 131 | try { |
| 132 | source.close(); |
| 133 | } catch (IOException e) { |
| 134 | throw new UncheckedIOException(e); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * Peek at the next input string character to determine the pending JSON element type. |