Skip to content

Data Interchange Format

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

XML vs JSON

  • JSON is Java Script Object Notation
  • XML is eXtensible Markup Language.

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.

Performance analysis of ubiquitous web systems for SmartPhones

As smartphone clients are restricted in computational power and bandwidth it is important to minimise the overhead of transmitted messages. This paper identifies and studies methods that reduce the amount of data being transferred via wireless links between a Web service client and a Web service. The goal is to improve the end-to-end service execution time by reducing the bottleneck presented by the limited bandwidth in an ubiquitous environment. http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5984851

Google Protocol Buffers

https://developers.google.com/protocol-buffers/

JSON and Python

http://docs.python.org/2/library/json.html

JSON Translations

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

Clone this wiki locally