Module:Jf-JSON/doc: Difference between revisions

Content deleted Content added
More direct user of module
m change source to syntaxhighlight
Line 5:
The suggested loading code of <code>JSON = assert(loadfile "JSON.lua")()</code> will not work in Scribunto. Instead, load the module as follows:
 
<sourcesyntaxhighlight lang="lua">
local JSON = require('Module:jf-JSON')
</syntaxhighlight>
</source>
 
You can then use the module as documented in the module comments.