If I do a print_r() statement to show me the content of my object it returns this:
stdClass Object ( [groupData] => {"global":["CoolPerson","Person"]} [permissionData] => {} )
How can I return the String "CoolPerson"?
I already tried the following:
$myObject['global'][0]
and
$myObject['groupData']['global'][0]