Module:Jf-JSON/doc

MyWikiBiz, Author Your Legacy — Friday November 15, 2024
< Module:Jf-JSON
Revision as of 23:28, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Jf-JSON

Template:Used in system

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:

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

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