Home > Article > Web Front-end > After reading it, you will know what JSON_json is
What is JSON
JSON (Javascript Object Notation) is a lightweight data exchange format. Easy for humans to read and write. It is also easy for machines to parse and generate. It is based on Javascript Programming Language, a subset of Standard ECMA-262 3rd Edition - December 1999. JSON uses a completely language-independent text format, but also uses conventions similar to the C language family (including C, C, C#, Java, Javascript, Perl, Python, etc.). These properties make JSON an ideal data exchange language.
The concept of JSON is very simple, that is, the server directly generates Javascript statements, and the client directly uses the eval method to obtain the object after obtaining it, thus eliminating the cost of parsing XML.
is expressed in XML: