I\'m trying to get the value from this following JSON array in a PHP variable.
This is a var_dump of the array:
array(3) {
[\"id\"]=>
string(2
you can convert a valid JSON string to a PHP variable with json_decode(). Note the second parameter to get an assoc array instead of the less usefull stdClass.
$jsonData = json_decode($data[0]['json'], true);
$header = $jsonData['Canvas']['MainObjects']['After Participation']['afterParticipationHeader'];