Created
February 2, 2011 19:43
-
-
Save anonymous/808263 to your computer and use it in GitHub Desktop.
JSON.stringify in CoffeeScript
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
var json_data = JSON.stringify({ | |
"STATUS_ID is": status, | |
"COMMAND is": command_str.trim(), | |
"RESULT is": result_str | |
}, | |
null, '\n'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment