From Dev.to
The 5 Mistakes That Break JSON (and How to Fix Them Fast)
Quick answer: almost every "invalid JSON" error comes from five habits carried over from JavaScript. JSON is stricter than JS: keys and strings need double quotes, there is no trailing comma, and ther...
