Difference between revisions of "Json.encode"

From GiderosMobile
(removed language stuff)
m (Text replacement - "<source" to "<syntaxhighlight")
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>
 
</source>

Revision as of 15:28, 13 July 2023

Available since: Gideros 2013.09
Class: json

Description

Returns encoded json string from provided Lua table. <syntaxhighlight lang="lua"> json.encode(data) </source>

Parameters

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