Why should I use JSON over XML ?

Author posted by Jitendra on Posted on under category Categories Salesforce and tagged as Tags , , , , , with Leave a comment on Why should I use JSON over XML ?

Why should I use JSON over XML ? Why JSON is given so importance these days ?

Many questions like these are asked many times by new developers. So, I decided to write this article. However last year I presented same topic and uploaded in SlideShare.

Before Winter12 release, for JSON related stuff we had to depend on external Libraries. However in Winter12, salesforce has added support for JSON natively on force.com plateform.  Also, on every release Salesforce is making required changes in JSON library to make it more stable and more usable. I have shared many topics on JSON in past, on which you can have a look. Continue reading “Why should I use JSON over XML ?”