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)
 
posted @ 2022-04-22 16:11  yufeiyunsui  阅读(16)  评论(0编辑  收藏  举报