json常用知识点总结

80 阅读1分钟

JSON数组

JSON数组在方括号("[]")中书写,数组可包含多个对象,如下“star_male”描述

{
    "star_male": [
        {
            "name": "鹿晗",
            "age": "26"
        },
        {
            "nickname": "李易峰",
            "age": "29"
        },
        {
            "nickname": "陈赫",
            "lastName": "31"
        }
    ]
}
{
    "title": "json在线解析(简版) - soJSON在线解析",
    "domain": "https://www.sojson.com/simple_json_beta.html",
    "keywords": "json在线解析",
    "功能": [
        "JSON美化",
        "JSON数据类型显示",
        "JSON数组显示角标",
        "高亮显示",
        "错误提示",
        {
            "备注": [
                "www.sojson.com",
                "json.la"
            ]
        }
    ],
    "加入我们": {
        "qq群": "259217951"
    }
}