Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are good alternative data formats to XML? [closed]

XML, granted, is very useful, but can be quite verbose. What alternatives are there and are they specialised for any particular purpose? Library support to interrogate the contents easily is a big plus point.

like image 758
Nick Avatar asked Sep 04 '08 17:09

Nick


People also ask

What can I use instead of XML?

YAML, HTML5, JSON, JavaScript, and Python are the most popular alternatives and competitors to XML.

Is CSV or XML better?

CSV should only be used if you are sending huge amounts of data and if bandwidth is an issue. Today, XML should not be used as a data exchange format because it's better suited for document markups.

Is XML outdated?

XML still lives today, mainly because it is platform agnostic. It supports Unicode and is often used as part of a data presentation workflow.

What's the difference between XML and JSON?

JSON (JavaScript Object Notation) is a lightweight data-interchange format and it completely language independent. It is based on the JavaScript programming language and easy to understand and generate. XML (Extensible markup language) was designed to carry data, not to display data.


1 Answers

There seems to be a lot of multi-platform support for JSON.

like image 77
spoulson Avatar answered Nov 15 '22 21:11

spoulson