php - Please see why there is an error in parsing this json data
PHP中文网
PHP中文网 2017-06-28 09:22:16
0
5
776

Why is there an error in parsing json data?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(5)
曾经蜡笔没有小新

After my human eye analysis, your json is missing one in the end]

滿天的星座

Use json_last_error to check the specific reason why the parsing failed

Another note: Next time, post the data directly and don’t take screenshots

Peter_Zhu

You can find text errors by searching json online (search a lot) or using intellij (java development IDE).

大家讲道理

Both 97 and 29 in the screenshot must be enclosed in double quotes. The key and value of the json content must be strictly enclosed in double quotes

滿天的星座

Why not use online json syntax detection?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template