[] the JSON object is used primarily to transform javascript objects into the json format used for data exchange with other applications.
[WHY]
[] to facilitate the exchange of data between different applications, machines,
[WHERE]
[] typically when javascript objects are transferred from 1 machine to another, they need to be transported in a format that travels well and json is that format.
[WHEN]
[] to convert a javascript object into a json object
[] to convert a json object into a javascript object
[EXAMPLE]
[] converting a JavaScript object into a JSON object
var myCar = {
make: "Ford",
model: "Mustang",
doors: 2,
engineSize: 5.0
}
var myCarJSON = JSON.stringify(myCar);
[] converting a JSON object into a javascript object