You are not logged in.
Pages: 1
Topic closed
The title says all. I want to know the differences, advantages and drawbacks of each, ...
JSON:
Lighter, 1 to 1 map with JS Objects, preferred choice for RPC, subset of YAML which is awesome.
XML:
Heavier, Verbose, Preferred choice for webservices, configuration files (.NET/Java mostly), Declarative UI (mxml/xaml/GWT...). Everyone and his mom created a parser and a serializer for it.
And more...
Last edited by xterm (May 5 2010)
I really like XML... I use it very often.
I try to avoid XML, I dont like the DOM functions and the unnecessary markup. Although I like the elegance of XML.
rolf is the DV kind of guy!
Think of XML as your safety net. When everything else that is concise fails, you fall back to it.
Also think of XML as your way of communication between languages/platforms that cannot communicate on their own. Almost every language has a mechanism of reading/writing XML - that's a lot of power at your hands.
Pages: 1
Topic closed