Module:Jf-JSON/doc: Difference between revisions
Appearance
Content deleted Content added
create |
KolbertBot (talk | contribs) m Bot: HTTP→HTTPS (v477) |
||
Line 1: | Line 1: | ||
This is Jeffrey Friedl's JSON.lua library, copied from http://regex.info/blog/lua/json ([http://regex.info/code/JSON.lua source code]). It is licensed under [ |
This is Jeffrey Friedl's JSON.lua library, copied from http://regex.info/blog/lua/json ([http://regex.info/code/JSON.lua source code]). It is licensed under [https://creativecommons.org/licenses/by/3.0/deed.en_US CC-BY 3.0]. |
||
The suggested loading code of <code>JSON = assert(loadfile "JSON.lua")()</code> will not work in Scribunto. Instead, load the module as follows: |
The suggested loading code of <code>JSON = assert(loadfile "JSON.lua")()</code> will not work in Scribunto. Instead, load the module as follows: |
Revision as of 15:49, 4 December 2017
This is Jeffrey Friedl's JSON.lua library, copied from http://regex.info/blog/lua/json (source code). It is licensed under CC-BY 3.0.
The suggested loading code of JSON = assert(loadfile "JSON.lua")()
will not work in Scribunto. Instead, load the module as follows:
local JSON = require('Module:jf-JSON')
You can then use the module as documented in the module comments.