Created
September 24, 2012 04:37
-
-
Save deholic/3774204 to your computer and use it in GitHub Desktop.
JSON parse for New line character
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(targetString.replace(/\n/g, "\\n")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment