Store multiple values in single key in json

前端 未结 3 467
离开以前
离开以前 2020-12-24 05:50

I need to store many values in single key of json. e.g.

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

Somethin

3条回答
  •  生来不讨喜
    2020-12-24 06:18

    {
        "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"
            }
        }
    };
    

提交回复
热议问题