-
Notifications
You must be signed in to change notification settings - Fork 0
Data Interchange Format
- 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
https://developers.google.com/protocol-buffers/
http://docs.python.org/2/library/json.html
| 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 |