Skip to content

Data Interchange Format

0x6C77 edited this page Mar 5, 2013 · 8 revisions

XML vs JSON

XML markup uses up more space than the actual payload. JSON has adressed this problem and while it's still a self-describing plain-text format, it's more space-efficient than anything XML-based could ever be.

JSON Translations

JSON Python
object dict
array list
string unicode
number (int) int, long
number (real) float
true True
false False
null None

Clone this wiki locally