Difference between revisions of "Json.decode"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2013.09<br/>
 
'''Available since:''' Gideros 2013.09<br/>
 
=== Description ===
 
=== Description ===
Returns Lua table from provided json encoded string
+
<translate>Returns Lua table from provided json encoded string</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  json.decode(jsondata)
 
  json.decode(jsondata)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''jsondata''': (string) Data in json format which to deserialize to Lua table <br/>
+
'''jsondata''': (string) <translate>Data in json format which to deserialize to Lua table</translate> <br/>

Revision as of 14:33, 23 August 2018

Available since: Gideros 2013.09

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