mergJSON, externals and Livecode Server

David Bovill david at viral.academy
Tue Aug 4 07:12:46 EDT 2015


Thanks Thierry - jq looks fantastic. Needs to be a new LCB library for
sure. But for now I need to get JSON in and out of Livecode arrays on the
server.

Monte's external is available for all platforms - so it should work on the
server I think the the "mergJSON.so" is the version I believe that is used
on Linux. Puttin it in the cgi bin along side the built in externals does
not seem to be sufficient. How does basic extension configuration work on a
server?


On 4 August 2015 at 10:50, Thierry Douez <th.douez at gmail.com> wrote:

> and here a previous post from Mark Wieder:
>
> A coworker hipped me to the fact that OSX has a built-in json parser.
> As does linux.
>
> Takes input from stdin and sends to stdout, so
>
> json_pp < filename
>
> will parse and pretty-print a json file for you.
>
> I was feeling uneasy about posting json data to online parsers,
> and this does the trick quite nicely.
>
> Best,
> Thierry
>
>
>
> 2015-08-04 11:43 GMT+02:00 Thierry Douez <th.douez at gmail.com>:
> > 2015-08-04 10:57 GMT+02:00
> > David Bovill <david at viral.academy>:
> >
> > Hi David,
> >
> > You might find this tool (binary available) interesting:
> >
> > http://stedolan.github.io/jq/
> >
> >
> > Otherwise, for linux, externals have to be built speciffically for the
> platform
> >
> >
> >> Hi - I'm looking to switch from parsing JSON
>
>
>
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> Maker of sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
>
> _______________________________________________
> 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