This comment has been minimized.
This comment has been minimized.Show comment Hide comment
@mablae yes, but the real problem here is that feeding
I understand there are technical reasons for that, and also that it is documented at http://fr2.php.net/manual/en/function.json-encode.php, but that's still a bit weird :)
The decode process is literal unless you force it to always use hashmaps. In the example you provided the output of