()
| 184 | } |
| 185 | |
| 186 | private JSONMap map() { |
| 187 | assertChar('{'); |
| 188 | whitespace(); |
| 189 | JSONMap map = new JSONMap(); |
| 190 | while (peek() != '}') { |
| 191 | String key = string(); |
| 192 | whitespace(); |
| 193 | assertChar(':'); |
| 194 | whitespace(); |
| 195 | map.put(key, object()); |
| 196 | if (peek() == ',') { |
| 197 | pos++; |
| 198 | whitespace(); |
| 199 | } |
| 200 | } |
| 201 | pos++; |
| 202 | return map; |
| 203 | } |
| 204 | |
| 205 | } |
| 206 |
no test coverage detected