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
Written by Vikram Bankar
Related protips
1 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
Best
#Web
Authors
johnbender
79.24K
hector
60.45K
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
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#