Created
January 24, 2014 02:50
-
-
Save kerryChen95/8591272 to your computer and use it in GitHub Desktop.
`JSON.parse()` cannot parse string...Notice when parse network response in JSON
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('') | |
// SyntaxError: Unexpected end of input | |
JSON.parse('vds') | |
// SyntaxError: Unexpected token v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment