列表list:[]里的元素类型可以不一样
数组array:[]里的元素类型必须一样,通过索引取值
字典:通过key值取value
map:
eg:集合中的列表
{
"code": 200,
"timestramp": 1655607489086,
"data": {
"1": [
{
"carrier": "CA",
"flightNo": "0010",
"departureDatetime": "2022-05-21 17:00:00",
"arrivalDatetime": "2022-05-21 18:00:00",
"departure": "北京",
"arrival": "上海",
"seatF": 5,
"amountF": 2000.0,
"seatC": 5,
"amountC": 1500.0,
"seatY": 5,
"amountY": 1000.0
},
{
"carrier": "MU",
"flightNo": "0021",
"departureDatetime": "2022-05-21 17:30:00",
"arrivalDatetime": "2022-05-21 18:40:00",
"departure": "北京",
"arrival": "上海",
"seatF": 10,
"amountF": 1500.0,
"seatC": 5,
"amountC": 1320.0,
"seatY": 3,
"amountY": 820.0
},
{
"carrier": "3U",
"flightNo": "0040",
"departureDatetime": "2022-05-21 15:00:00",
"arrivalDatetime": "2022-05-21 17:00:00",
"departure": "北京",
"arrival": "上海",
"seatF": 8,
"amountF": 1720.0,
"seatC": 9,
"amountC": 1320.0,
"seatY": 10,
"amountY": 900.0
},
{
"carrier": "3U",
"flightNo": "0050",
"departureDatetime": "2022-05-21 08:10:00",
"arrivalDatetime": "2022-05-21 10:00:00",
"departure": "北京",
"arrival": "上海",
"seatF": 5,
"amountF": 1720.0,
"seatC": 0,
"amountC": 1320.0,
"seatY": 0,
"amountY": 900.0
}
],
"2": []
},
"time": "2022-06-19 10:58:09",
"message": "成功"
}