To convert JSON text into a JavaScript object, use the JSON.parse() method, assigning it to a variable. The variable is an object storing the JSON data in the format of ____. code example
Example: javascript parse json
const json = '{ "fruit": "pineapple", "fingers": 10 }';
const obj = JSON.parse(json);
console.log(obj.fruit, obj.fingers);