Difference between revisions of "Module:JSON/doc"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created page with "Simple JSON encoding and decoding in pure Lua. Clone of d:Module:JSON. JSON support is now available from core, through :mw:Extension:Scribunto/Lua reference manual#mw....")
 
m
 
Line 1: Line 1:
Simple JSON encoding and decoding in pure Lua. Clone of [[d:Module:JSON]].
+
Simple JSON encoding and decoding in pure Lua. Clone of [[Module:JSON]].
  
 
JSON support is now available from core, through [[:mw:Extension:Scribunto/Lua reference manual#mw.text.jsonDecode|<code>mw.text.jsonDecode()</code>]] and [[:mw:Extension:Scribunto/Lua reference manual#mw.text.jsonEncode|<code>mw.text.jsonEncode()</code>]].
 
JSON support is now available from core, through [[:mw:Extension:Scribunto/Lua reference manual#mw.text.jsonDecode|<code>mw.text.jsonDecode()</code>]] and [[:mw:Extension:Scribunto/Lua reference manual#mw.text.jsonEncode|<code>mw.text.jsonEncode()</code>]].

Latest revision as of 20:45, 20 January 2022

Simple JSON encoding and decoding in pure Lua. Clone of Module:JSON.

JSON support is now available from core, through mw.text.jsonDecode() and mw.text.jsonEncode().