Difference between revisions of "Json.encode"

From GiderosMobile
(removed language stuff)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2013.09<br/>
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
+
'''Class:''' [[json]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/json|json]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns encoded json string from provided Lua table</translate>
+
Returns encoded json string from provided Lua table.
 
<source lang="lua">
 
<source lang="lua">
json.encode(data)
+
json.encode(data)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''data''': (table) <translate>Lua table which to serialize to json</translate> <br/>
+
=== Parameters ===
 +
'''data''': (table) Lua table which to serialize to json<br/>
  
 
{{Json}}
 
{{Json}}

Revision as of 12:23, 11 August 2021

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