Hi David

There's JSONImport and JSONExport and otherwise try the PhotonJSON library, 
which IIRC works properly for nested arrays.

________________________________

Date: Wed, 15 Oct 2025 09:02:11 +0100
From: David Bovill <[email protected]>
To: How to use LiveCode <[email protected]>
Subject: Advanced JSON handling with arrays
Message-ID:
        <cagasion4zhtn_qn2wi_r2bvgkizynkoft-w2evhstyccjan...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I've been using mergJson for a number of years, and construct json using
arrays then convert them to json for rpc. I've been porting this to
web/wasm export and hit the block that mergJson is not available for web.

I've tried the built in library but it does not work the same for nested
arrays and I can only get it working for simple structures.

Any advise on how to handle JSON properly?

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to