======json_decode====== WMMEGA FW >= 2.1180 JSON decode a string into a array ====Description==== array json_decode ( string $data ) Return an array containing the JSON array representation of an JSON object (passed as a string). ====Parameters==== $data: A string to decode ====Return Values==== JSON decoded array ====Example====
The above example will output: [$res] = Array ( [0] = Array ( (int) [a] => 1 (int) [b] => 2 (int) [c] => 3 ) ) ====See Also==== [[array()]] - Create an array, with optional values [[explode()]] - Turn a string into an array [[implode()]] - Turn an array into a string [[json_encode()]] - Encode an array as a JSON string [[uphp:variables|uPHP Variable Types and Limits]]