JAVA JSON
List<PackageInfoResponse> res = new ArrayList<>(); res = JSON.parseArray(JSONObject.parseObject(r.getData().toString()).getString("packingInfo"), PackageInfoResponse.class);
public R soComplete(@RequestBody List<OrderTMSDto> model) { List<SyncOrderFinishStatusDto> f = JSON.parseArray(JSON.toJSONString(model), SyncOrderFinishStatusDto.class); }
JSONObject resp = JSON.parseObject(str);
ocr.setName(fileResult.getData().getName());
ocr.setBizUserId(resp.getString("BizUserId"));
ocr.setPicType(resp.getString("PicType"));
ocr.setRemark(resp.getString("Remark"));
JSONObject.toJSON(payMethod)