Skip to content
Discussion options

You must be logged in to vote

Yeah, just put it in there. Technically, it doesn't even need to be inside JSON.parse since the JSON is also a valid object literal in javascript.

oh right, the " breaks the html attributes.

Yeah, not much you can do about that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FredMar
Comment options

Answer selected by FredMar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants