JavaScript: JSON
JSON
is the value of the property key "JSON"
of
the Global Object.
console.log(globalThis["JSON"] === JSON);
Type
console.log(typeof JSON === "object");
Parent
Parent of JSON
is Object.prototype.
console.log(Reflect.getPrototypeOf(JSON) === Object.prototype);
Purpose
Purpose of JSON
is as a namespace, for functions working with the
JSON format.