By Javier Salas
I want to parse this string of a JSONObject that contains a JSONArray of JSONObjects
Array ( [Assignments] => Array (  => Array ( [ass_name] => Test123 [class_id] => 2 [date_assigned] => 2017-08-23 [done] => false [due] => 2017-08-23 13:34:54 [id] => 10 [weight] => 65 ) ) )
I tried using
$json = json_decode($testing,true); echo $json;
where $testing is my entire string but $json echos nothing.
Source: Stack Overflow