Can't get jsonToArray in standalones ?

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Mon Apr 4 10:15:01 EDT 2022


Panos,

is there a reason why mergJSON is not listed in the dictionary anymore in LC 9.6.6,9.6.7, 10DDP2, 10DP3?

Matthias

> Am 04.04.2022 um 16:08 schrieb panagiotis m via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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
>> 
> _______________________________________________
> 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