Difference between revisions of "Json"

From GiderosMobile
Line 7: Line 7:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[json.decode]] - Returns Lua table from provided json encoded string<br/>
+
[[json.decode]] {{<translate>Returns Lua table from provided json encoded string</translate>}}<br/>
[[json.encode]] - Returns encoded json string from provided Lua table<br/>
+
[[json.encode]] {{<translate>Returns encoded json string from provided Lua table</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 14:18, 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 Template:Returns Lua table from provided json encoded string
json.encode Template:Returns encoded json string from provided Lua table

Events

Constants