Difference between revisions of "Json"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2013.09<br/> === Description === Provides Lua table serialization and deserialization to and from str...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2013.09<br/>
 
'''Available since:''' Gideros 2013.09<br/>
 
=== Description ===
 
=== Description ===
Provides Lua table serialization and deserialization to and from string in json format{|-
+
Provides Lua table serialization and deserialization to and from string in json format
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[json.decode]] - Returns Lua table from provided json encoded string<br/>
 +
[[json.encode]] - Returns encoded json string from provided Lua table<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 09:57, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2013.09

Description

Provides Lua table serialization and deserialization to and from string in json format




Methods

json.decode - Returns Lua table from provided json encoded string
json.encode - Returns encoded json string from provided Lua table

Events

Constants