Difference between revisions of "Json.encode"

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

Revision as of 10:20, 23 August 2018

Available since: Gideros 2013.09

Description

Returns encoded json string from provided Lua table

 json.encode(data)

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