Skip to content

Instantly share code, notes, and snippets.

@stephen-james
Created March 25, 2013 16:10
Show Gist options
  • Save stephen-james/5238264 to your computer and use it in GitHub Desktop.
Save stephen-james/5238264 to your computer and use it in GitHub Desktop.
easy formatted debug of viewmodel JSON in knockoutJS
<pre data-bind="text: ko.toJSON($data, null, 2)"></pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment