Difference between revisions of "Json.decode"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
json.decode(jsondata)
 
json.decode(jsondata)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14: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