Difference between revisions of "Json.encode"

From GiderosMobile
(removed language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns encoded json string from provided Lua table.
 
Returns encoded json string from provided Lua table.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
json.encode(data)
 
json.encode(data)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14: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