<? var_dump($data->number); ?>
The way it works.
So and so, too, until the first object:
<?php foreach($data as $a): ?>\r<?= $a ?>\r<?php endforeach; ?>
So in this version (all objects do json-AMI):
<?php foreach($data as $k=>$a): ?> <?=(is_string($a))?"$k=>$a
"?> <?php endforeach; ?>
Since json is a structure, and to extract a custom field you need to write a recursive function that will iterate through all the tree and find the desired value. Or explicitly specify the desired through a series of "->" setting the path correctly on the "tree" to the desired node.