Skip to content

Instantly share code, notes, and snippets.

@uiur
Last active August 29, 2015 14:27
Show Gist options
  • Save uiur/24305e3bf42270f78ce5 to your computer and use it in GitHub Desktop.
Save uiur/24305e3bf42270f78ce5 to your computer and use it in GitHub Desktop.
sketch
var embedded = require('embedded-json')
var data = embedded()
data.foo
data.bar
<script type="application/json"
data-key="foo">
{
"a": 1,
"b": 2,
"c": 3
}
</script>
<script type="application/json"
data-key="bar">
"yo"
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment