字符串转换为指定的泛型对象
示例:
OCRInfo<BankCardResult> ocrInfo = JSON.parseObject(unicodeToChinese,new TypeReference<OCRInfo<BankCardResult>>(){});
关键是使用TypeReference<>()
示例:
OCRInfo<BankCardResult> ocrInfo = JSON.parseObject(unicodeToChinese,new TypeReference<OCRInfo<BankCardResult>>(){});
关键是使用TypeReference<>()