Playground said response was not JSON

Rust playground said

Response was not JSON: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

The Playground is currently broken, it has been for around a day at least. Most of the time it doesn't compile the code, and I was unable to share links. You can file an issue, but I'm pretty sure the maintainers have been made aware of the problem by now.

If you are looking for alternatives, two possible ones you could use (depending on your usecase) are the Compiler Explorer (multi-language, mainly focused on assembly and optimization) and rustexplorer.com (Rust only, similar to the Playground, but missing some features).

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.