Ask HN: Why is JSON so pedantic?
2 by thyrox | 3 comments on Hacker News.
Why can't we have a trailing comma in JSON? Why doesn't it support inline comments. Why can't we single quote things? Why do we need to double quote keys? JavaScript objects are similar to JSON and allow all this and it works just fine. They never misinterpret anything. So why can't JSON be more forgiving? I remember XML used to be the same back in the day. Why do creators of schema make them so strict? Isn't the whole thing about making life of users (or devs in the case) easier? What purpose does such fussy specifications achieve?
Don't forget to subscribe our youtube channel Click here:- http://www.youtube.com/c/techgk Product of the day
Post Top Ad
Responsive Ads Here
New ask Hacker News story: Ask HN: Why is JSON so pedantic?
Share This
Subscribe to:
Post Comments (Atom)
Post Bottom Ad
Responsive Ads Here
Author Details
Templatesyard is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates which are professionally designed and perfectlly seo optimized to deliver best result for your blog.
No comments:
Post a Comment