91
edits
(Use SyntaxHighlight) |
Buttchouda (talk | contribs) |
||
Line 204: | Line 204: | ||
Use <syntaxhighlight lang="js" inline>ctx.loadData</syntaxhighlight> to read and automatically parse a JSON resource. | Use <syntaxhighlight lang="js" inline>ctx.loadData</syntaxhighlight> to read and automatically parse a JSON resource. | ||
''Comments in JSON are purely illustrative and not valid markup'' | |||
<syntaxhighlight lang="js" line>// my-data.json | <syntaxhighlight lang="js" line>// my-data.json |
edits