Difference between revisions of "Module:JSON/doc"
Jump to navigation
Jump to search
Mediawiki>ATDT (Document exported functions) |
Joelmartin (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 23:34, 30 November 2019
This module exposes two functions:
encode( o )
- Returns the table / string / boolean / number / nil / json.null value as a JSON-encoded string.
decode( json_string )
- Returns a Lua object populated with the data encoded in the JSON string
json_string
.