mergJSON | |
Type | library |
Dictionary | LCS |
Library | LiveCode Script |
Associations | mergjson |
Description | mergJSON is an external for encoding and decoding JSON. This external has been implemented to encode/decode UTF8 JSON to a LiveCode array as quickly as possible. Currently externals can not work with multi-dimensional LiveCode arrays so the intention is it is used with two functions like this:
|
Type | Name | Summary | Syntax |
---|---|---|---|
function | mergJSONDecode | The function decodes JSON to an array. | mergJSONDecode(<pJSON>, <pVariableName>) |
- - - | mergJSONEncode | The function encodes an array as JSON. | mergJSONEncode(<pVariableName>, [<pForceRootType>, <pPretty>]) |
library | mergJSON | mergJSONEncode(<pVariableName>, [<pForceRootType>, <pPretty>]) |