Difference between revisions of "Json.encode"

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

Revision as of 13:34, 23 August 2018

Available since: Gideros 2013.09

Description

Returns encoded json string from provided Lua table

 json.encode(data)

Parameters

data: (table) Lua table which to serialize to json