JSON must know to learn summary (i)

Source: Internet
Author: User

In the first week of July, I came back from school to work for the first week. After leaving for a period of time, come back to work again, have a lot of new understanding, no longer is the internship when mixed chaos chaos. Every day I do what I do, how to do, to achieve a clearer degree. In addition to completing the work I am responsible for, I began to think about what I was going to get out of the job.

When I left this morning, I slipped a thin book in my Bag-"JSON must know," and saw the first two chapters during the day, and the two chapters were designed with basic touches, but there was no systematic summary and a lot of clarity after reading.

First, what is JSON, the book is that JSON is a data interchange format that is used by many systems for data exchange.

Data interchange formats are: XML, JSON, and so on.

JSON (JavaScript Object Notation): (JavaScript) object notation. JSON originates from a subset of JavaScript. JSON is based on JavaScript object literals.

Literal: The data is worth a specific representation.

The syntax for JSON:

1, JSON uses (:) to separate the name and value, the name is left and the value is right.

2, the name needs to be enclosed in double quotation marks.

3. When the value is a string, double quotes must be used.

JSON is based on JavaScript object literals, but the JavaScript object literal does not need to enclose the names in the name-value pairs with double quotes, but in JSON it has to be added.

JSON online Syntax validation tool: JSON Formatter & Validator, json Editor online, Jsonlint.

MIME type of JSON: Application/json

JSON must know to learn summary (i)

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.