What is JSON?

JSON, or JavaScript Object Notation, is a text-based data format used for storing and sharing data. It is language-independent and is used for data exchange via APIs and in web applications.

How does it work?

JSON data is composed of two basic building blocks:

  • Name/value pairs (objects)
  • Sorted lists

What does it do?

JSON is used to send data between a server and a client. APIs use JSON to allow different software components to communicate with each other. JSON structures data in applications. This allows complex data to be stored and sent in a clear manner.