PHP -Konsole -Lofarray -Werte
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";
Literate Lentil
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";