javascript json create object code example
Example 1: js create json from object
JSON.stringify(the_data);
Example 2: create a json object in javascript
var employee = {
"firstName": firstName,
"lastName": lastName
}
JSON.stringify(the_data);
var employee = {
"firstName": firstName,
"lastName": lastName
}