Last active
June 12, 2022 15:27
-
-
Save afrinjamanbd/58ac9fdd101108ca7aa91b8c3225bb98 to your computer and use it in GitHub Desktop.
JSON value with single quote error fixed
This file contains 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
var json = '{"1440167924916":{"id":1440167924916,"type":"text","content":"It\'s a test!"}}'; | |
var parsed = JSON.parse(json); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment