Difference between revisions of "Json.decode"
From GiderosMobile
(removed language stuff) |
|||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2013.09<br/> | |
| − | ''' | + | '''Class:''' [[json]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Returns Lua table from provided json encoded string. | |
<source lang="lua"> | <source lang="lua"> | ||
| − | + | json.decode(jsondata) | |
</source> | </source> | ||
| − | === | + | |
| − | '''jsondata''': (string) | + | === Parameters === |
| + | '''jsondata''': (string) data in json format which to deserialize to Lua table<br/> | ||
{{Json}} | {{Json}} | ||
Revision as of 13:23, 11 August 2021
Available since: Gideros 2013.09
Class: json
Description
Returns Lua table from provided json encoded string.
json.decode(jsondata)
Parameters
jsondata: (string) data in json format which to deserialize to Lua table