Home  >  Article  >  Web Front-end  >  What is json? What is the use?

What is json? What is the use?

不言
不言Original
2019-01-24 16:09:477359browse

json is the abbreviation of "What is json? What is the use? Object Notation", which refers to the format used to describe objects in What is json? What is the use? processing. This article will introduce you to the content of json.

What is json? What is the use?

What is json?

The above statement may not be easy to understand. Simply put, json can describe concise and structured data, such as XML and CSV files.

Specifically, JSON format consists of key-value pairs. If you prepare JSON format data, you can share the data and use it. In other words, if you use JSON, you can easily Exchange data between language programs.

JSON is a universal data format with a minimum number of value types: string, number, boolean, list, object and null. Although notation is a subset of What is json? What is the use?, these types are represented in all common programming languages, making JSON well-suited for transferring data across language gaps.

What is the use of json?

If you are writing software that communicates with a browser or a native mobile application, you should use JSON as the data format.

JSON is the ubiquitous de facto format for sending data between web servers and browsers, as well as mobile apps. Its simple design and flexibility make it easy to read, understand, and, in most cases, easy to operate using the programming language of your choice.

The above is the detailed content of What is json? What is the use?. 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