1 | initial version |
The process to create the key value pair using object notation is as follows:
Example:
{
"name": "John",
"age": 30,
"isStudent": true,
"hobbies": ["reading", "writing", "playing guitar"]
}
In the above example, "name", "age", "isStudent" and "hobbies" are the keys and "John", 30, true and ["reading", "writing", "playing guitar"] are the corresponding values.