How can I access the luggage information in this JSON?
P粉401527045
P粉401527045 2023-07-28 14:50:26
0
1
526
<p>How do I access baggage information in this JSON? </p> <pre class="brush:php;toolbar:false;">{ "Response": { "Results": [ [{ "Segments": [ [{ "Baggage": "2 PC(s)" } ] ] }]        ]     } }</pre> <p>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>
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