Re: mergJSON, externals and Livecode Server

2015-08-04 Thread Monte Goulding
> On 5 Aug 2015, at 12:20 am, Lyn Teyla wrote: > > If you're running the 64-bit version of Ubuntu 14.04, mergJSON doesn't work > off the shelf, since there's currently only a 32-bit version available > officially. Thanks Lyn, it will work perfectly fine on 64 bit but I forgot to include it i

Re: mergJSON, externals and Livecode Server

2015-08-04 Thread David Bovill
Ah - thanks Lyn. I've stumble on with Livecode script version- and wait for Monte to update mergJSON On 4 August 2015 at 15:20, Lyn Teyla wrote: > David Bovill wrote: > > > Monte's external is available for all platforms - so it should work on > the > > server I think the the "mergJSON.so" is th

Re: mergJSON, externals and Livecode Server

2015-08-04 Thread Lyn Teyla
David Bovill wrote: > 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 exte

Re: mergJSON, externals and Livecode Server

2015-08-04 Thread David Bovill
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

Re: mergJSON, externals and Livecode Server

2015-08-04 Thread Thierry Douez
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 onl

Re: mergJSON, externals and Livecode Server

2015-08-04 Thread Thierry Douez
2015-08-04 10:57 GMT+02:00 David Bovill : 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 HTH, Thierry > Hi - I'm looking to switch from parsing JSON with scrip

mergJSON, externals and Livecode Server

2015-08-04 Thread David Bovill
Hi - I'm looking to switch from parsing JSON with scripts to Monte's external (which i've been using on mobile / desktop for a while and works great) - but I can't get it working (I"m on Ubuntu 14.04 with DigitalOcean) and Livecode server version 7.06 rc3). It's either because the external does no