How do I traverse and display the names in the following JSON using CodeIgniter?
1) $json is a string you need to decode it first.
$json
$json = json_decode($json);
2) you need to loop through the object and get its members
foreach($json as $obj){ echo $obj->name; ..... }