Python ValueError: No JSON object could be decoded

前端 未结 6 572
深忆病人
深忆病人 2020-12-30 07:41

I\'m trying to read a json and get its values. I have a folder with the JSON\'s archives, and I need to open all archives and get the values from them.

This is the c

6条回答
  •  长情又很酷
    2020-12-30 08:07

    Try using this in your ajax/$http with JSON data

    contentType: "application/json; charset=utf-8"

提交回复
热议问题