I have a json, and I do a foreach on this json, i have something like this :
object(stdClass) [118]
public 'value1' => string 'test'
public 'value2' => string 'test2'
public 'value3' => string 'test2'
public 'value4' => string 'test4'
I succeed to take value1 and "value2" etc of all my object, but i want to take too the id of these objects. I want to mean, i want to have the "118" for this example. How can i do it ?
Someone to help me ?