In JSON, data is represented as a collection of key-value pairs, with each key being a string and each value being either a string, a number, a boolean value (true or false), an array, or an object. Arrays and objects can contain other arrays and objects, allowing for the creation of complex data structures.
Here is an example of a simple JSON object:
In this example, the object has four properties: "name", "age", "isEmployed", and "skills". The value of the "name" property is a string, the value of the "age" property is a number, the value of the "isEmployed" property is a boolean, and the value of the "skills" property is an array of strings.