Overview
JSON (JavaScript Object Notation) is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages. It is the most common format for data exchange on the web.
Data Types
- Number: Double-precision floating-point format.
- String: Sequence of Unicode characters.
- Boolean: true or false.
- Array: Ordered list of values.
- Object: Unordered collection of name/value pairs.
- null: Empty value.
Usage
JSON is primarily used to transmit data between a server and a web application, serving as an alternative to XML.