My PHP code:
$obj = json_decode($data); print $obj->{\'name\'};
While it works for non-arrays, I can\'t for the life of me figure out h
Here using objects example (to read reviews...raiting):
$jsonObject = json_decode($data); foreach ($jsonObject->reviews as $data) { echo $data->rating; }