{
"id": 1,
"name": "Tim the Beaver",
"school": {
"name": "Massachusetts Institute of Technology"
},
"enrolled": true,
"classes": ["6.001", "18.01", "8.01"]
}
In the example above How can you programatically add pairs key: value under “school” to get i. e.
May be: When Button1.Click
“school”: {"name": "Massachusetts Institute of Technology",
“room1”: 15,
“room2”: 17
}