Last Updated: February 25, 2016
·
1.115K
· vikram

Go for JSON !!!

JSON is better in more ways than we can imagine,

  • It closely resembles the way objects are structured in OOP Languages.

  • It does not have much syntactic sugar

  • Easier on the eyes / processor / bandwidth

Although we should not forget XML was made for markup and representing rigid syntax of items whereas json is just for transfer of data.

Thinkin out loud

1 Response
Add your response

In my opinion it's better to default to JSON and use XML as the exception

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

The website is part of the attack surface, not only the API behind it. Every script, iframe, and tag on a public page is code that did not go through the same review as the backend.

Security insights from Cside