Json.decode: Difference between revisions

From GiderosMobile
removed language stuff
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== Description ===
=== Description ===
Returns Lua table from provided json encoded string.
Returns Lua table from provided json encoded string.
<source lang="lua">
<syntaxhighlight lang="lua">
json.decode(jsondata)
json.decode(jsondata)
</source>
</source>

Revision as of 13:28, 13 July 2023

Available since: Gideros 2013.09
Class: json

Description

Returns Lua table from provided json encoded string. <syntaxhighlight lang="lua"> json.decode(jsondata) </source>

Parameters

jsondata: (string) data in json format which to deserialize to Lua table