public static T parseObject(String text,TypeReference type,Feature... features) {
return parseObject(text, type.type,ParserConfig.global,DEFAULT_PARSER_FEATURE, features);
}
用法示例:
TypeReference>>MAP_TYPE_REFERENCE =new TypeReference>>(){};
JSON.parseObject(text,MAP_TYPE_REFERENCE);