Jump to content

Module:Jf-JSON/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m change source to syntaxhighlight
 
Line 14: Line 14:
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->


}}</includeonly>
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>

Latest revision as of 22:03, 29 August 2024

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.