What is JSON
JSON (JavaScript Object notation Http://www.json. org/json-zh.html) is a lightweight text-based, language-independent data interchange format that is lighter than XML. It is an alternative to XML data interchange. It derives from the
Function xmltojson (XML, Tab ){
VaR x = {
Toobj: function (XML ){
VaR o = {};
If (XML. nodetype = 1) {// Element Node ..
If (XML. Attributes. Length) // element with attributes ..
For (VAR I = 0; I O ["@" + XML. attributes [I]. nodename] = (XML.
Original URL: http://zz563143188.iteye.com/blog/1930937
What is JSON
JSON (JavaScript Object notation Http://www.json. org/json-zh.html) is a lightweight text-based, language-independent data interchange format that is lighter than XML. It is an
Document directory
A pragmatic approach
Preserving order
Semi-structured XML
Examples
URL: http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html? CMP = OTC-TY3388567169 & ATT = converting + between + XML + and +
A: Introduction to JSONJSON refers to JavaScript Object notation, a lightweight text data interchange format, similar to XML, but smaller, faster, and easier to parse than XMLTwo: The comparison between JSON and XML (copy online)Advantages:simpler
Without a doubt, Json is the most popular data exchange format nowadays. Thanks to its ease of use, json has never been systematically learned about json, so I want to sort out json-related learning content. Json is a lightweight exchange format
JSON is probably the simplest form of text data on the planet, readable, flexible, small in volume, easy to encode and decode, fast, and good for Unicode and special character support. In contrast to the XML, you know how many bytes are wasted by
Download a complete example of a JSON data row-to-column conversion application
Background
First, let's explain why we want to convert columns from rows to columns.
Time
Category
Cost
2014-07-08
Electricity
120
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.