Sunday, October 30, 2016

json_encode returns NULL

In this case you'll have to make sure your Strings are all encoded in utf8. This used to be not a problem for me in prior version of PHP before I upgraded to 5.6.