What is JSON
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for both humans to read and write and for machines to parse and generate. It is based on a subset of the JavaScript programming language and is used widely for transmitting data between a server and a web application, as well as for storing structured data. Despite its origins in JavaScript, JSON is language-independent, meaning it can be used in various programming environments like Python, Java, C#, and more. The structure of JSON consists of key-value pairs, where the key is always a string and the value can be a string, number, array, boolean, object, or null. JSON objects are written inside curly braces `{}`, with each key-value pair separated by a colon and different pairs separated by commas. Arrays in JSON are written inside square brackets `[]` and can contain multiple values of different types. This simple structure makes JSON highly flexible and suitable for representing complex nested