JSON Parse Error: Expecting 'STRING'

后端 未结 3 1030
借酒劲吻你
借酒劲吻你 2021-02-12 21:57

I am using JSONLint to parse some JSON and i keep getting the error:

Error: Parse error on line 1: [{“ product”: [{“
---^ Expecting \'STRING

3条回答
  •  清歌不尽
    2021-02-12 22:49

    JSON must use normal quote characters("), not smart quotes for(“”) for string literals.

    To get the normal quote in JSON data format: right-click on browser window and select - view page source.

提交回复
热议问题