String s="{
"StatusCode": true,
"Datas": [
{
"Status": "未核单",
"StatusCode": true,
"TrackingNumber": "654144534060607480",
"Amt": "19.000",
"OtherAmt": "0.000",
"CcyCode": "RMB",
"Weight": "0.030"
},
{
"Status": "未核单",
"StatusCode": true,
"TrackingNumber": "6540606123407491",
"Amt": "19.000",
"OtherAmt": "0.000",
"CcyCode": "RMB",
"Weight": "0.050"
},
{
"StatusCode": false,
"TrackingNumber": "365012345565802",
"Message": "该单号系统中不存在!"
使用ObjectMapper转换JSON字符串通过实体类接收
于 2023-10-19 13:50:35 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)