Javascript doesn't handle Strings over multiple lines.
You will need to concatenate those:
var obj = '{'
+'"name" : "Raj",'
+'"age" : 32,'
+'"married" : false'
+'}';
You can also use template literals in ES6 and above: (See here for the documentation)
var obj = `{
"name" : "Raj",
"age" : 32,
"married" : false,
}`;