Contact: aviboots(AT)netvision.net.il
31,036 questions
40,822 answers
573 users
$json = '{"a":1,"b":2,"c":3}'; echo "<pre>"; var_dump(json_decode($json)); echo "</pre>"; /* run: object(stdClass)#1 (3) { ["a"]=> int(1) ["b"]=> int(2) ["c"]=> int(3) } */
$json = '{"a":1,"b":2,"c":3}'; echo "<pre>"; var_dump(json_decode($json, true)); echo "</pre>"; /* run: array(3) { ["a"]=> int(1) ["b"]=> int(2) ["c"]=> int(3) } */