Compressing JSON using Data maps
Journal: International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) (Vol.6, No. 1)Publication Date: 2017-03-11
Authors : Harpreet Singh Padda; Gulabchand K. Gupta;
Page : 59-61
Keywords : JSON; Data maps; Compression; Delimiters; Data Interchange Format; Protocol Buffer; BSON; CJSON;
Abstract
Abstract: JSON (JavaScript Object Notation), is one of the widely used format for communication among software applications and devices. XML and CSV are other popular formats. One of the major advantages of JSON format is that it's lightweight. There have been other formats which are starting to gain ground like Google's Protocol Buffers, BSON etc. Additionally other representations of JSON have been researched. In this research paper we introduce a new representational format for JSON objects based on Data maps to further compress the size of a JSON data packet. We named it as FJSON where F stands for Flattened.We compare the size of JSON data packet with other formats i.e. XML, CJSON and FJSON. The use of Data maps eliminates the necessity of having delimiters as well as escaping special characters. Using examples, we show that there is a considerable impact on JSON data packet size in case of data packets having more key/value pairs and special characters. We also showcase that the amount of compression achieved using Data maps is directly proportional to the number of special characters or key-value pairs in a JSON data packet.
Other Latest Articles
- Effects of seed inoculation by Rhizobium strains on chlorophyll content and protein percentage in common bean cultivars (Phaseolus vulgari s L.)
- Comparing The Performance Of MLP With One Hidden Layer And MLP With Two Hidden Layers On Mammography Mass Dataset
- Survey on Provenance Forgery attack and detection methods in Wireless Sensor Network
- Survey on Approaches, Problems and applications of the Boosting
- Development of hydraulic calculator for flow calculation through Notches, Weirs and Orifices in Agricultural Water Management
Last modified: 2017-03-12 00:03:01