What is the description of the programming field brought by JSON?

Source: Internet
Author: User

JSON is a set of Data Object Organization formats. From the programmer's perspective, it describes a key-value data organization in a very easy-to-read and easy-to-write form. The full name of JavaScript Object Notation indicates that it is a set of format specifications.
This article discusses the ease of reading and writing of JSON object organizations. I think the first intuition of all people is the meaning assigned by the colon name. A field is organized by curly brackets. All seen articles are attributes described by colons. What humans like most is that this method begins to describe a topic with a colon. This Semantics is in the JSON context, specifying the name attribute and the actual description of the attribute.
Since JSON can bring the colon into full play, it is not better to assign something with the colon. I still don't understand why many languages like to use = for value assignment, use the = and = to describe the equivalent link.
Pascal is doing well in the language system, but he still tells the programmer a lot of details, using: = to describe the assignment operation. However, the word assigned to an English file is assignment, which is actually the meaning of the assignment. If a script is as easy to read and write as a JSON script, the language will tell everyone that they may make full use of their organizational and design capabilities.

Because the real program design work is actually to divide layers, organize data and design processes. So what will the children learn from this script in the future?
The first key is to grasp the syntax. You will see that there is no syntax here. This formal learning is just a kind of colon assignment that universities are happy to get used to, and the block organization description. In this script environment, blocks are divided into two types: JSON blocks and function blocks. Obviously, JSON blocks are constructed objects and functions are described and processed. Finally, some processing and calls are made.
So there are two types of programming concepts. In the future, humans will truly know what script processing is. In the (OOP) Object-Oriented Programming script description, everything is to construct and call a certain processor. There is no need to define classes. What we need is to build some objects (simply data organization), build some functional items, and install an existing functional component in one way, in this way, the object can evolve according to the context needs during the running process.
With this assumption, we can see how JSON can trigger our exploration. JSON tells us how to form a object. If there is a script language, we will call it a colon script for the time being, the script also needs to think about how to form a processor. We naturally think about it based on the habits of ordinary people, using assignment while just a colon notation.

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.