public void test_error_2() throws Exception {
String input = "{map:{},,,}";
DefaultExtJSONParser parser = new DefaultExtJSONParser(input, ParserConfig.getGlobalInstance(), 0);
DefaultObjectDeserializer deser = new DefaultObjectDeserializer();
Map<String, Object> map = new HashMap<String, Object>();
JSONException error = null;
try {
deser.parseMap(parser, map, new TypeReference<TreeMap>() {
}.getType(), null);
} catch (JSONException ex) {
error = ex;
}
Assert.assertNotNull(error);