Why is there an error in parsing json data?
认证高级PHP讲师
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
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?
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
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?