0
Trying to get property of non-object in
Im using json decode.
3 Réponses
+ 1
$jsonData = file_get_contents('json-path');
$data = json_decode($jsonData);
Now whatever you had in your json is stored inside the data variable.
0
Mr. Victor.
Thanks for answering this question. I tried to learn json decoding through CURL PHP. I am getting confused in json to object conversion or parsing data through the object. That's why I am getting this error. please have a look at this reference.
https://www.sololearn.com/Discuss/1771065/trying-to-get-property-of-non-object
0
I’ll provide an answer in your referenced post.