Why is JSON so popular? Developers want out of the syntax business
stereolambda.wordpress.com
Why is JSON so popular? Developers want out of the syntax business
1–10 of 120 posts
Re: Why is JSON so popular? Developers want out of the syntax business
#2He nailed it:
XML should be used for markup, JSON or YAML for structured data.
Re: Why is JSON so popular? Developers want out of the syntax business
#3There are so many cool things you can do with JSON. I just created a boolean logical statement builder on a web page by using free form open and close parenthesis, and and/or radio buttons. A little regex to change the parenthesis into square brackets, then an eval(), and I can walk the whole statement recursively.
Re: Why is JSON so popular? Developers want out of the syntax business
#4As one of the earlier commenters pointed out, lisp welcomes you to the 1960s.
Re: Why is JSON so popular? Developers want out of the syntax business
#5Well JSON also lets you get around browsers' same-domain policy without having to set up a proxy, which I think might be more important.
Re: Why is JSON so popular? Developers want out of the syntax business
#6As one of the earlier commenters pointed out, lisp welcomes you to the 1960s.
Sorry we were late to the party, guys, we just got so wrapped up in writing software that people actually use.
Re: Why is JSON so popular? Developers want out of the syntax business
#7Well JSON also lets you get around browsers' same-domain policy without having to set up a proxy, which I think might be more important.
if you are talking about JSONp: JSON is by no means required to do that. You could in theory easily pass a string containing XML to the callback function.
Re: Why is JSON so popular? Developers want out of the syntax business
#8JSON is popular because there is a straightforward mapping from JSON to native types in many programming languages.
Re: Why is JSON so popular? Developers want out of the syntax business
#9As one of the earlier commenters pointed out, lisp welcomes you to the 1960s.
Sorry we were late to the party, guys, we just got so wrapped up in writing software that people actually use.
... while the lispers where still counting the closing parens needed to finally get their code running
SCNR
Re: Why is JSON so popular? Developers want out of the syntax business
#10Earlier quoted context omitted.
Sorry we were late to the party, guys, we just got so wrapped up in writing software that people actually use.
... while the lispers where still counting the closing parens needed to finally get their code running SCNR
Only the ones too clueless to use Emacs or another editor that does it for you.