搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I'm making a website and JSON.parse breaks it

  • 無回覆
  • 0 有這個問題
  • 1 次檢視
more options

This is only a problem with Firefox, on Chrome it works perfectly fine. But for some reason, JSON.parse throws the error "Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data". Is there any way to fix this or is this just a Firefox problem that I have to deal with?

This is only a problem with Firefox, on Chrome it works perfectly fine. But for some reason, JSON.parse throws the error "Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data". Is there any way to fix this or is this just a Firefox problem that I have to deal with?

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題