Created
December 3, 2012 20:54
-
-
Save crtr0/4197945 to your computer and use it in GitHub Desktop.
Decoding some JSON data in our Mustache template
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 data = "{{ voteoptions }}"; | |
var voting_string = data.unescapeHtml(); | |
var voting = JSON.parse(voting_string); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I there any way we can paste json and it converts to mustache template