Objects and JSON

Source: Internet
Author: User

JSON is the literal of objects in JavaScript and is the representation of objects, and by using JSON, you can reduce intermediate variables, making the structure of your code clearer and more intuitive. Using JSON, you can build objects dynamically by adding or removing properties to objects to improve the functionality of objects without having to instantiate them through classes, which greatly improves the efficiency of coding. The JavaScript object itself is a dictionary (dictionary), or a map in the Java language, or an associative array, that is, by associating an object with a key, which can itself be an object, according to this definition, We can know that JavaScript objects can represent arbitrarily complex data structures.

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.