Difference between revisions of "Json.decode"

From GiderosMobile
(removed language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:31, 13 July 2023

Available since: Gideros 2013.09
Class: json

Description

Returns Lua table from provided json encoded string.

json.decode(jsondata)

Parameters

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