Home >Web Front-end >JS Tutorial >What is json? What is the use?
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?
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!