Difference between revisions of "Json.encode"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | '''Available since:''' Gideros 2013.09<br/> | + | '''<translate>Available since</translate>:''' Gideros 2013.09<br/> |
| − | === Description === | + | === <translate>Description</translate> === |
<translate>Returns encoded json string from provided Lua table</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''data''': (table) <translate>Lua table which to serialize to json</translate> <br/> | '''data''': (table) <translate>Lua table which to serialize to json</translate> <br/> | ||
Revision as of 07:28, 24 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