Difference between revisions of "Json.decode"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2013.09<br/>
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
+
'''Class:''' [[json]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/json|json]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns Lua table from provided json encoded string</translate>
+
Returns Lua table from provided json encoded string.
<source lang="lua">
+
<syntaxhighlight lang="lua">
json.decode(jsondata)
+
json.decode(jsondata)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''jsondata''': (string) <translate>Data in json format which to deserialize to Lua table</translate> <br/>
+
=== Parameters ===
 +
'''jsondata''': (string) data in json format which to deserialize to Lua table<br/>
  
 
{{Json}}
 
{{Json}}

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