Json.encode: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 12: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