Category Archives: Yii

Fix JSON decoding syntax error

I got a long JSON string from DB, and try to decode the string using json_decode() in PHP, I get null, the empty object. But when I tested it in a JSON pretty page http://jsonprettyprint.com/, everything looks good. It’s no single/double-quotes … Continue reading

Posted in Computers and Internet, Laravel, Lumen, Uncategorized, Yii | Leave a comment