Difference between revisions of "Json"
From GiderosMobile
Line 9: | Line 9: | ||
| 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/><!-- GIDEROSMTD:json.decode --> | + | [[Special:MyLanguage/json.decode|json.decode]] ''<translate>Returns Lua table from provided json encoded string</translate>''<br/><!-- GIDEROSMTD:json.decode(jsondata) Returns Lua table from provided json encoded string --> |
− | [[Special:MyLanguage/json.encode|json.encode]] ''<translate>Returns encoded json string from provided Lua table</translate>''<br/><!-- GIDEROSMTD:json.encode --> | + | [[Special:MyLanguage/json.encode|json.encode]] ''<translate>Returns encoded json string from provided Lua table</translate>''<br/><!-- GIDEROSMTD:json.encode(data) Returns encoded json string from provided Lua table --> |
| 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 15:32, 13 September 2018
Supported platforms:
Available since: Gideros 2013.09
Description
Provides Lua table serialization and deserialization to and from string in json format
Methodsjson.decode Returns Lua table from provided json encoded string |
EventsConstants |