search

Home  >  Q&A  >  body text

php - Please see why there is an error in parsing this json data

Why is there an error in parsing json data?

PHP中文网PHP中文网2708 days ago779

reply all(5)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-28 09:24:16

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

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-28 09:24:16

    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

    reply
    0
  • 天蓬老师

    天蓬老师2017-06-28 09:24:16

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

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-28 09:24:16

    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

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-28 09:24:16

    Why not use online json syntax detection?

    reply
    0
  • Cancelreply