Can't get jsonToArray in standalones ?

panagiotis m merakosp at gmail.com
Mon Apr 4 10:08:48 EDT 2022


Hello Ben,

You need to check megJSON.

The JSON Library inclusion is for JSONImport and JSONExport handlers.

Cheers,
Panos

On Mon, 4 Apr 2022, 16:28 Ben Rubinstein via use-livecode, <
use-livecode at lists.runrev.com> wrote:

> Building a standalone that uses jsonToArray.
>
> Works fine in the IDE.
>
> If I use "search for required inclusions" when building the standaline,
> then
> when the script calls jsonToArray it throws error 219 (Function: error in
> function handler).
>
> If I use "select inclusions", and check "JSON Library", then it crashes.
>
> Interestingly, if I *uncheck* "JSON Library" from the inclusions, then it
> also
> crashes! (I expected it would throw error 219.)
>
> This is the same on LC 9.6.6 and 9.6.7; and (at least the crash) same on
> both
> Mac and Windows.
>
> My best guess is that I need to have something else checked in the
> inclusions
> - any suggestions?
>
> TIA,
>
> Ben
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list