What is JSON?
JSON (JavaScript Object Notation) is a lightweight format for storing and transferring
data.
Example:
let obj = { name: "Bob" };
let json = JSON.stringify(obj); // Convert to JSON string
JSON (JavaScript Object Notation) is a lightweight format for storing and transferring
data.
Example:
let obj = { name: "Bob" };
let json = JSON.stringify(obj); // Convert to JSON string