36

json の 1 つのキーに多くの値を格納する必要があります。例えば

{
  "number" : "1","2","3",
  "alphabet" : "a", "b", "c"
}

このようなもの。ポインタはありますか?

4

3 に答える 3

9
{
  "number" : ["1","2","3"],
  "alphabet" : ["a", "b", "c"]
}
于 2013-06-13T17:18:34.187 に答える
-5
{
    "success": true,
    "data": {
        "BLR": {
            "origin": "JAI",
            "destination": "BLR",
            "price": 127,
            "transfers": 0,
            "airline": "LB",
            "flight_number": 655,
            "departure_at": "2017-06-03T18:20:00Z",
            "return_at": "2017-06-07T08:30:00Z",
            "expires_at": "2017-03-05T08:40:31Z"
        }
    }
};
于 2017-03-03T11:07:04.327 に答える