DefaultExtJSONParser parser = new DefaultExtJSONParser(input, ParserConfig.getGlobalInstance(), JSON.DEFAULT_PARSER_FEATURE);
DefaultObjectDeserializer deser = new DefaultObjectDeserializer();
Map<String, Object> map = new HashMap<String, Object>();
deser.parseMap(parser, map, new TypeReference<TreeMap>() {
}.getType(), null);
Assert.assertTrue(map.get("map") instanceof TreeMap);
Assert.assertEquals(1, map.size());
}