如果我做这样的json_decode:
$json = json_decode($jsondata);
echo var_dump($json);我得到了这样的东西:
object(stdClass)#1 (1)
{ ["QRY_JISGesch"]=> array(3)
{ [0]=> object(stdClass)#2 (8)
{ ["JISGeschID"]=> int(7) ["StandorteID"]=> int(0) ["FSKID"]=> int(23)
}
[1]=> object(stdClass)#3 (8)
{ ["JISGeschID"]=> int(8) ["StandorteID"]=> int(0) ["FSKID"]=> int(22)
}
[2]=> object(stdClass)#4 (8)
{ ["JISGeschID"]=> int(9) ["StandorteID"]=> int(0) ["FSKID"]=> int(1)
}
}
} 如何在代码中找到"QRY_JISGesch“?
发布于 2018-04-25 11:33:02
get_object_vars (object $object)将为您提供返回对象的所有可访问属性的列表。
https://stackoverflow.com/questions/50020947
复制相似问题