在数组上执行print_r(),我得到以下信息:
jrunscript example.js
如何访问数组中的特定值? 由于stdClass对象,以下代码无法正常工作
stdClass Object
(
[Products] => Array
(
[0] => stdClass Object
(
[Id] => 265531
[ProductTitle] => test0
[ZarfiyatSalane] => 600.000
[MizanJazbMavad] => 660.000
)
[1] => stdClass Object
(
[Id] => 265532
[ProductTitle] => test1
[ZarfiyatSalane] => 500.000
[MizanJazbMavad] => 500.000
)
)
)