Basic use of JSON data

Source: Internet
Author: User

I've always wanted to do a data type of JSON, through the use of these days, it is found that JSON is only a data format, and the int string double and so on data types are essentially different.

Just like the first high school textbooks, want to master the same new technology, new knowledge, we must first grasp its significance, that is, its existence value.

Through the recent use, I think JSON is widely used, and the importance of JS is not related to the promotion. JS does not have the same background code, you can define the model, and then through the "Object name. Property name" To get a value. The advent of JSON solves this problem. If we define an object in JSON format, then we can use the object name. Key name to get past the data.

I divide the use of JSON into two parts

1. Convert other data types to JSON

2. Convert JSON to other data types

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: info-contact@alibabacloud.com 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.