Dataexchange

Data Exchange includes taking data structured under a source schema and transform it into the target data schema, so that the target data is an accurate representation of the original source data.

JSON

JSON stands for JavaScript Object Notation and is an open-standard format that uses human-readable text to transmit data objects consisting of key-value pairs.

Advantage

* Simple and compact data format* Support hierarchical data structure* Its size is smaller than XML’s* Easy to handle using JavaScript object parsing and web applications* Compact data format to exchange data between applications.* Very good tool support since almost every programming language supports JSON.

 

Disadvantages

* JSON format(RDF - Resource Description Framework ) structures that go beyond key/value pairs) is very hard to read for humans.* Every single comma, quote, and bracket should be in exactly the correct place.* JSON is not suitable for large data’s.* JSON does not have a < [CDATA []]> feature, so it is not suitable for handling multimedia formats. That is text, images etc.

XML

stands for Extensible Markup Language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

 

Advantage

* Support hierarchical data structure* Information coded in XML is easy to read and understand.* Lots of APIs exist to convert data into native data* XML documents can contain any possible data type — from multimedia data (image, sound, video) to active components (Java applets, ActiveX).* Very good tool support since almost every programming language supports XML.

Disadvantages

* There is no optimization of queries.* There is no built-in security model.* Data is not normalized, duplications are not eliminated.* XML is case-sensitive.* Very long and hard to read.* Size is largest due to open and close tag

CSV

A CSV is a comma separated values file, which allows data to be saved in a table structured format.

Advantage

* CSV is human readable and easy to edit manually* Most compact format, half or less size of XM and JSON format* CSV is simple to implement and parse

* CSV is processed by almost all existing applications

Disadvantages

* CSV allows to move most basic data only. Complex configurations cannot be imported and exported this way.* There is no distinction between text and numeric values* No standard way to represent binary data* Poor support of special characters

转载于:https://www.cnblogs.com/luaicun/p/5771385.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值