PHP/JSON - stdClass Object

Vzfhcxbd

New Member
I'm pretty new to arrays still. I need some help - I have some JSON, and I've run it through some PHP that basically parses the JSON and decodes it as follows:\[code\]stdClass Object( [2010091907] => stdClass Object ( [home] => stdClass Object ( [score] => stdClass Object ( [1] => 7 [2] => 17 [3] => 10 [4] => 7 [5] => 0 [T] => 41 ) [abbr] => ATL [to] => 2 )\[/code\]This actually goes on and on - BUT - my problem is the \[code\]stdClass Object\[/code\] part. I need to be able to call this in a for loop and then iterate through each section (home, score, abbr, to, etc). How would I go about this?
 
Back
Top