-
-
Save uiur/24305e3bf42270f78ce5 to your computer and use it in GitHub Desktop.
sketch
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 embedded = require('embedded-json') | |
var data = embedded() | |
data.foo | |
data.bar |
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
<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