Thursday, May 19, 2016


JSON in 10 seconds

1. Basic
var obj = '{"fname":"John","lname":"Doe","age":"33"}'
var person = JSON.parse(obj);
alert('Name: ' + person.fname + '  ' + person.lname + ' age: ' + person.age);

2.