Question: Assign jsonStructure with the parsed value of the stringData variable. Then, assign 28 to the points property in jsonStructure and assign stringData with the stringified
Assign jsonStructure with the parsed value of the stringData variable. Then, assign 28 to the points property in jsonStructure and assign stringData with the stringified version of jsonStructure.
Code:
var stringData = '{ "name": "Lebron James", "height": { "ft": 6, "in": 8 }, "points": 26, "position": "Shooting guard" }';
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
