()
| 133 | } |
| 134 | |
| 135 | public Object getBigNumber() throws IOException { |
| 136 | CharArr num = parser.getNumberChars(); |
| 137 | String numstr = num.toString(); |
| 138 | for (int ch; (ch = num.read()) != -1; ) { |
| 139 | if (ch == '.' || ch == 'e' || ch == 'E') return new BigDecimal(numstr); |
| 140 | } |
| 141 | return new BigInteger(numstr); |
| 142 | } |
| 143 | |
| 144 | public Object getBoolean() throws IOException { |
| 145 | return parser.getBoolean(); |
no test coverage detected