This is not a valid JSON data. But I have to parse it to extract "isNavPaneDisabled". How do I parse it?
var text = {
version: "1.8",
viewid: "RegistrationPage",
browserless: false,
username: "system",
userrole: "NonAdmin",
message: "",
productname: "someApp",
isNavPaneDisabled: true,
isDebug: false
};
text.isNavPaneDisabled