how to make a json object in js code example
Example 1: js create json from object
JSON.stringify(the_data);
Example 2: create a javascript json object
const student = {
name: "bob",
age: 7,
grade: 6
}
JSON.stringify(the_data);
const student = {
name: "bob",
age: 7,
grade: 6
}