Php Json how to get property?

I have a json file.
I would like to get "Zangya" (which is in "animeName")
$datas = file_get_contents('getCharacters.json');
$datas = json_decode($datas);
var_dump($datas[0]);

This gives me:
object(stdClass)#1 (26) { ["animeName"]=> array(1) { [0]=> string(6) "Zangya" } ["address"]=> NULL ["aliasName"]=> array(3) { [0]=> string(3) "Aki" [1]=> string(8) "Zangyaku" .......
Was this page helpful?