自学内容网 自学内容网

Java-使用FastJSON从原始JSON数据到新格式JSON数据的转换

[
    {
        "id": "111",
        "name": "长沙",
        "criCount":8,
        "sesCount":4
    },
    {
        "id": "222",
        "name": "湘潭",
        "criCount":10,
        "sesCount":5
    },
    {
        "id": "333",
        "name": "北京",
        "criCount":6,
        "sesCount":7
    }
]


[
    {
        "level":"危急",
        "长沙": 8,
        "湘潭":10,
        "北京":6
    },
    {
        "level":"严重",
        "长沙": 4,
        "湘潭":5,
        "北京":7
    }
]
import co

原文地址:https://blog.csdn.net/ZHOU_VIP/article/details/142347065

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!