Exception in thread “main” com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “ResultCode” (class com.xiaocaimi.loan.pojo.vo.LiuLiuYuResponse), not marked as ignorable (4 known properties: “customerID”, “resultCode”, “tradeNo”, “msg”])
at [Source: (String)"{“ResultCode”:“109”,“msg”:“该数据不符合需求,拒绝接收”}"; line: 1, column: 16] (through reference chain: com.xiaocaimi.loan.pojo.vo.LiuLiuYuResponse[“ResultCode”])
这里要将ResultCode改为resultCode 才能够解析出来 Msg要改成msg 数据和对象名首字母都要改成小写