ever thought of adding comments to JSON for readability? it's not possible with standard JSON spec. but wait for a second, there is an upgrade about to come. introducing JSON5, we can literally add comments(single + multi-line) to JSON, and trailing coma's never bothered. 🧵⬇️


JSON5 is not standardized yet, but we could use an npm module in order to work with it. it supports - JSON5.parse(json5text); - JSON5.stringify(JSON object) if you like the content, do consider following! Thanks #javascript #json5 #webdevelopment #webdev

consious_coder's tweet image. JSON5 is not standardized yet, but we could use an npm module in order to work with it. it supports
- JSON5.parse(json5text);
- JSON5.stringify(JSON object)

if you like the content, do consider following! Thanks 
#javascript #json5 #webdevelopment #webdev

United States Trends
Loading...

Something went wrong.


Something went wrong.