Difference between revisions of "Json"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<!-- GIDEROSOBJ:json -->
 
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/>
 
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/>
 
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
 
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
Line 7: Line 8:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Methods</translate> ===
 
=== <translate>Methods</translate> ===
[[Special:MyLanguage/json.decode|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/><!-- GIDEROSMTD:json.decode -->
[[Special:MyLanguage/json.encode|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/><!-- GIDEROSMTD:json.encode -->
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Events</translate> ===
 
=== <translate>Events</translate> ===
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 14:55, 31 August 2018

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.png
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