Android json data parsing

Source: Internet
Author: User

First, we will introduce:

1. What is json data?

1. json: Abbreviation of javascript object Notation
2. json data is a collection of key-value pairs;
3. json has been widely used by most developers in network data transmission;
4. json is easier to parse than xml

5. Its basic data format is:

"Name": "Michael ",
"Andress ":
"City": "Beijing ",
"Street": "Chaoyang Road ",
"Prostcode": 100024

Ii. Comparison between json data and xml

1. The data in json and xml are basically the same in readability;
2. json and xml have rich parsing methods;
3. json is smaller than xml;
4. Convenient interaction between json and javascrpit;
5. Relatively poor description of data in json;
Author: kevinvane

Related Article

Contact Us

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: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.