Guest User

Untitled

a guest
Jul 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. var malformedJsonString = "{unquotedName: 'single quoted value'}";
  2. eval("var myParsedJsonObject = "+malformedJsonString+";");
  3. // myParsedJsonObject now contains your parsed JSON object
Add Comment
Please, Sign In to add comment