Creating Simple JSON Object with JavaScript

<html> <head> <title>Creating Simple JSON Object with JavaScript</title> <style> body {padding:80px; text-align:center;} </style> <script language=”javascript” >  var JSONObj1 = { “movie”:”Chennai Express”, “year”:2013 };  var JSONObj2 = { “movie”:”Singham Returns”, “year”:2014 };   document.write(“<h1>Simple JSON Object</h1>”); …

Creating Simple JSON Object with JavaScript

<html> <head> <title>Creating Simple JSON Object with JavaScript</title> <style> body {padding:80px; text-align:center;} </style> <script language=”javascript” >  var JSONObj1 = { “movie”:”Chennai Express”, “year”:2013 };  var JSONObj2 = { “movie”:”Singham Returns”, “year”:2014 };   document.write(“<h1>Simple JSON Object</h1>”); …