• Json串压缩转义


    1、登陆地址:https://www.bejson.com/

    2、 压缩前:[{ "domainid": "00000000000111", "billtype": "1", "formno": "2021000100006", "formid": "1A3046838CAE46A4840266D4CE0DC563", "createuserno": "zhangsan", "createusername": "createusername", "deptno": "0103", "deptname": "财务部", "contractno": "abc0001", "contractname": "付款合同001", "contractbalance": "30000000", "relatedunitname": "神舟软件", "reason": "报销办公费", "budgetinfo": [{ "budgetid": "01001001", "budgetname": "办公费", "budgetno": "01001001", "budgetyear": "2021", "budgettype": "FeiYong", "hsdw": "000012", "hsdwmc": "物流事业账套" }], "expenditureinfo": [{ "expenditureid": "01001001", "expenditurename": "办公费1", "expenditurecash": "100" }, { "expenditureid": "01001002", "expenditurename": "办公费2", "expenditurecash": "200" }], "taskinfo": [{ "taskid": "01001001", "taskname": "办公费", "taskcash": "100" }, { "taskid": "01001001", "taskname": "办公费", "taskcash": "200" }], "offsetinfo": [{ "formno": "20210100003", "formcash": "30000", "offsetcash": "30000", "bccd": "100" }, { "formno": "20210100003", "formcash": "30000", "offsetcash": "30000", "bccd": "100" }], "postponecash":"300", "payeeinfo": [{ "TendererNo": "zhangsan", "TendererName": "张三", "payway": "入银行卡", "Remittee": "中国电信", "RemitteeBank": "工行", "RemitteeAccount": "1001200230034002", "cash": "100" }, { "TendererNo": "zhangsan", "TendererName": "张三", "payway": "入银行卡", "Remittee": "中国电信", "RemitteeBank": "工行", "RemitteeAccount": "1001200230034002", "cash": "100" }] }, { "domainid": "00000000000111", "billtype": "1", "formno": "2021000100006", "formid": "1A3046838CAE46A4840266D4CE0DC563", "createuserno": "zhangsan", "createusername": "createusername", "deptno": "0103", "deptname": "财务部", "contractno": "abc0001", "contractname": "付款合同001", "contractbalance": "30000000", "relatedunitname": "北京神州航天软件技术有限公司", "reason": "报销办公费", "budgetinfo": [{ "budgetid": "01001001", "budgetname": "办公费", "budgetno": "01001001", "budgetyear": "2021", "hsdw": "000012", "hsdwmc": "物流事业账套" }], "expenditureinfo": [{ "expenditureid": "01001001", "expenditurename": "办公费1", "expenditurecash": "100" }, { "expenditureid": "01001002", "expenditurename": "办公费2", "expenditurecash": "200" }], "taskinfo": [{ "taskid": "01001001", "taskname": "办公费", "taskcash": "100" }, { "taskid": "01001001", "taskname": "办公费", "taskcash": "200" }], "offsetinfo": [{ "formno": "20210100003", "formcash": "30000", "offsetcash": "30000", "bccd": "100" }, { "formno": "20210100003", "formcash": "30000", "offsetcash": "30000", "bccd": "100" }], "postponecash":"300", "payeeinfo": [{ "TendererNo": "zhangsan", "TendererName": "张三", "payway": "入银行卡", "Remittee": "中国电信", "RemitteeBank": "工行", "RemitteeAccount": "1001200230034002", "cash": "100" }, { "TendererNo": "zhangsan", "TendererName": "张三", "payway": "入银行卡", "Remittee": "中国电信", "RemitteeBank": "工行", "RemitteeAccount": "1001200230034002", "cash": "100" }] }]

    压缩转义后:

    [{"domainid":"00000000000111","billtype":"1","formno":"2021000100006","formid":"1A3046838CAE46A4840266D4CE0DC563","createuserno":"zhangsan","createusername":"createusername","deptno":"0103","deptname":"财务部","contractno":"abc0001","contractname":"付款合同001","contractbalance":"30000000","relatedunitname":"神舟软件","reason":"报销办公费","budgetinfo":[{"budgetid":"01001001","budgetname":"办公费","budgetno":"01001001","budgetyear":"2021","budgettype":"FeiYong","hsdw":"000012","hsdwmc":"物流事业账套"}],"expenditureinfo":[{"expenditureid":"01001001","expenditurename":"办公费1","expenditurecash":"100"},{"expenditureid":"01001002","expenditurename":"办公费2","expenditurecash":"200"}],"taskinfo":[{"taskid":"01001001","taskname":"办公费","taskcash":"100"},{"taskid":"01001001","taskname":"办公费","taskcash":"200"}],"offsetinfo":[{"formno":"20210100003","formcash":"30000","offsetcash":"30000","bccd":"100"},{"formno":"20210100003","formcash":"30000","offsetcash":"30000","bccd":"100"}],"postponecash":"300","payeeinfo":[{"TendererNo":"zhangsan","TendererName":"张三","payway":"入银行卡","Remittee":"中国电信","RemitteeBank":"工行","RemitteeAccount":"1001200230034002","cash":"100"},{"TendererNo":"zhangsan","TendererName":"张三","payway":"入银行卡","Remittee":"中国电信","RemitteeBank":"工行","RemitteeAccount":"1001200230034002","cash":"100"}]},{"domainid":"00000000000111","billtype":"1","formno":"2021000100006","formid":"1A3046838CAE46A4840266D4CE0DC563","createuserno":"zhangsan","createusername":"createusername","deptno":"0103","deptname":"财务部","contractno":"abc0001","contractname":"付款合同001","contractbalance":"30000000","relatedunitname":"北京神州航天软件技术有限公司","reason":"报销办公费","budgetinfo":[{"budgetid":"01001001","budgetname":"办公费","budgetno":"01001001","budgetyear":"2021","hsdw":"000012","hsdwmc":"物流事业账套"}],"expenditureinfo":[{"expenditureid":"01001001","expenditurename":"办公费1","expenditurecash":"100"},{"expenditureid":"01001002","expenditurename":"办公费2","expenditurecash":"200"}],"taskinfo":[{"taskid":"01001001","taskname":"办公费","taskcash":"100"},{"taskid":"01001001","taskname":"办公费","taskcash":"200"}],"offsetinfo":[{"formno":"20210100003","formcash":"30000","offsetcash":"30000","bccd":"100"},{"formno":"20210100003","formcash":"30000","offsetcash":"30000","bccd":"100"}],"postponecash":"300","payeeinfo":[{"TendererNo":"zhangsan","TendererName":"张三","payway":"入银行卡","Remittee":"中国电信","RemitteeBank":"工行","RemitteeAccount":"1001200230034002","cash":"100"},{"TendererNo":"zhangsan","TendererName":"张三","payway":"入银行卡","Remittee":"中国电信","RemitteeBank":"工行","RemitteeAccount":"1001200230034002","cash":"100"}]}]

    生命在于运动,生活在于奋斗!
  • 相关阅读:
    简单跟跟spring源码
    java.lang.UnsupportedOperationException mybatis
    通过自定义注解校验后台接口请求参数
    java的修饰符 public --> protected -->default --> private
    Ubuntu安装google-chrome
    git设置core.autocrlf
    时钟时间,系统cpu时间,用户cpu时间
    推荐-Everything搜索工具
    Ubuntu no such file or directory
    centos安装docker
  • 原文地址:https://www.cnblogs.com/tsx1230/p/14365335.html
Copyright © 2020-2023  润新知