Json.encode: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
'''Available since:''' Gideros 2013.09<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/json|json]]<br/>
'''Class:''' [[json]]<br/>
=== <translate>Description</translate> ===
 
<translate>Returns encoded json string from provided Lua table</translate>
=== Description ===
<source lang="lua">
Returns encoded json string from provided Lua table.
json.encode(data)
<syntaxhighlight lang="lua">
</source>
json.encode(data)
=== <translate>Parameters</translate> ===
</syntaxhighlight>
'''data''': (table) <translate>Lua table which to serialize to json</translate> <br/>
 
=== Parameters ===
'''data''': (table) Lua table which to serialize to json<br/>
 
{{Json}}

Latest revision as of 13:31, 13 July 2023

Available since: Gideros 2013.09
Class: json

Description

Returns encoded json string from provided Lua table.

json.encode(data)

Parameters

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