大家好知道如何使用JQuery解析这种类型的JSON响应。此响应来自Sabre API。
object(SharedContext) #3 (1) {
["results":"SharedContext":private]= >
array(7) {
["SECURITY"] =>
NULL
["origin"] =>
string(3)
"LAX" ["destination"] =>
string(3)
"JFK" ["departureDate"] =>
string(10)
"2018-08-30" ["LeadPriceCalendar"] =>
object(stdClass) #6 (4) {
["OriginLocation"]= >
string(3)
"LAX" ["DestinationLocation"] =>
string(3)
"JFK" ["FareInfo"] =>
array(1) {
[0] =>
object(stdClass) #8 (6) {
["LowestFare"]= >
object(stdClass) #9 (2) {
["AirlineCodes"]= >
array(1) {
[0] =>
string(2)
"AS"
}
["Fare"] =>
float(296.4)
}
此处有完整的JSON响应:json response link
非常感谢任何帮助