How can I access the luggage information in this JSON?
P粉401527045
P粉401527045 2023-07-28 14:50:26
0
1
427

How do I access baggage information in this JSON?

{ "Response": { "Results": [ [{ "Segments": [ [{ "Baggage": "2 PC(s)" } ] ] }] ] } }

If I execute Results.Segments.Baggage, nothing is output to the console, please tell me how to get the baggage information from this nested JSON.

P粉401527045
P粉401527045

reply all (1)
P粉071602406

According to your JSON, there is a double array in both Results and Segments.

Response.Results[0][0].Segments[0][0].Baggage
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!