json中对象数组的名称是否应该是多元化的

时间:2012-07-11 16:25:16

标签: json

如果json中的对象数组是多元化的,那么约定是什么?

{
    "releases": [
       {
           "id": "0b405ea7-8785-402f-bcf7-d55f5000dc3e",
           "title": "Wintertunes"
       },
       {
           "id": "7eb37a3a-646d-4501-a373-e9071186b88d",
           "title": "Adventure Magic Supreme Journey Music"
       }
    ],
}

{
    "release": [
       {
           "id": "0b405ea7-8785-402f-bcf7-d55f5000dc3e",
           "title": "Wintertunes"
       },
       {
           "id": "7eb37a3a-646d-4501-a373-e9071186b88d",
           "title": "Adventure Magic Supreme Journey Music"
       }
    ],
}

1 个答案:

答案 0 :(得分:0)

在没有强烈意见的情况下决定将其复数化