如何解析没有数组名和对象名的json文件?

时间:2018-06-20 05:50:56

标签: java android json api android-volley

我想解析此json,但此json没有数组名或对象名。我需要获取ID,颜色,说明。

[
    {
        "id": "mLPjQs-YK5g",
        "created_at": "2018-06-20T02:06:38-04:00",
        "updated_at": "2018-06-20T10:56:38-04:00",
        "width": 4016,
        "height": 6016,
        "color": "#D7A694",
        "description": null
    },
    {
        "id": "HcgDLkDbo7U",
        "created_at": "2018-06-20T10:15:12-04:00",
        "updated_at": "2018-06-20T10:54:30-04:00",
        "width": 3648,
        "height": 5472,
        "color": "#E1D6DE",
        "description": null
    }
]

0 个答案:

没有答案