Difference between revisions of "Json"

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

Revision as of 16:34, 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