how to make json code example
Example 1: create a json object in javascript
var employee = {
"firstName": firstName,
"lastName": lastName
}
Example 2: how to set up a json file
{
"name" : "data"
}
var employee = {
"firstName": firstName,
"lastName": lastName
}
{
"name" : "data"
}