Changes

724 bytes added ,  23:28, 15 July 2021
Pywikibot 6.4.0
{{used in system|in [[MediaWiki:Gadget-libSensitiveIPs.js]]}}

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:

<syntaxhighlight lang="lua">
local JSON = require('Module:jf-JSON')
</syntaxhighlight>

You can then use the module as documented in the module comments.

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->

}}</includeonly>