Module:JSON/doc
From Sun Myung Moon Archive
< Module:JSON
Revision as of 10:03, 9 August 2015 by DivineCriticizer (talk | contribs) (Created page with "This module exposes two functions: === <code>encode( ''o'' )</code> === :Returns the table / string / boolean / number / nil / json.null value as a JSON-encoded string. ===...")
This is the documentation page for Module:JSON
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
.