Last active
January 14, 2018 20:44
-
-
Save kldkv/fe9089fd1674f7ec6eab3cb5e74e79a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON.parse(a.replace(/(\w+)\s?:/g, '"$1":')) | |
JSON.stringify(eval(mystr)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment