Rant on my favourite topics : LC server with a side-dish of on-rev :-)
Ralf Bitter
rabit at revigniter.com
Sat Nov 18 07:36:28 EST 2017
Hi Alex,
you should find the JSON extension in:
Tools/Extensions/com.livecode.library.json/module.lcm
If you use revIgniter create a folder “extensions” in your
application folder and place the “com.livecode.library.json”
folder including the “module.lcm” file there.
Then load the extension in your controller using:
rigLoadExtension "com.livecode.library.json"
and you are done, see:
https://revigniter.com/userGuide/general/extensions.html
Ralf
> On 18. Nov 2017, at 00:53, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> But - still need to solve the problem of my database interactions - which I want to do through revIgniter, rather than through my little utility script for doing the actual upload. No problem - just take the rest of the data, stick in a JSON-encoded cookie, and redirect back to the revIgniter script on success.
>
> That's when I ran into the problem that aArrayToJSON() isn't (automatically) available on LCServer. Fortunately Devin has given me an answer to that (Thanks!!) so I should be back on track in another hour or two ..
More information about the use-livecode
mailing list