Home  >  Article  >  Web Front-end  >  What is json parsing?

What is json parsing?

little bottle
little bottleOriginal
2019-05-17 10:27:377146browse

JSON is a syntax for passing objects, which can be name/value pairs, arrays and other objects. JSON (JavaScript Object Notation) is a lightweight data exchange format.

What is json parsing?

It is based on a subset of JavaScript (Standard ECMA-262 3rd Edition - December 1999).

JSON adopts 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 features make JSON an ideal data exchange language. Easy for humans to read and write, and easy for machines to parse and generate.

JSON is a syntax for passing objects, which can be name/value pairs, arrays and other objects. The front-end and back-end transmission is actually a string, and parsing is to convert the string into a json type object, so that various types of attributes or objects can be operated on.

The above is the detailed content of What is json parsing?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn