> On 2 May 2018, at 9:20 am, Andre Garzia wrote:
>
> The problem is that no web api expects an object with numeric keys, it
> expects an honest, real, array. The fact that LC arrays are actually hashmaps
> is awesome, I love them as well, but it still makes it impossible to export
> arrays fr
Monte,
The problem is that no web api expects an object with numeric keys, it
expects an honest, real, array. The fact that LC arrays are actually
hashmaps is awesome, I love them as well, but it still makes it impossible
to export arrays from LC which are really common on Web APIs. JSONExport
lib
On 04/30/2018 06:42 PM, Monte Goulding via use-livecode wrote:
ArrayToJSON deals with JSON list differently to JSONExport. ArrayToJSON uses
mergJSON which checks if the array keys are a numeric sequence and assumes it’s
a list. There is a way to force it to be an object if required.
Ah, righ
> On 1 May 2018, at 11:29 am, Mark Wieder via use-livecode
> wrote:
>
> On 04/30/2018 03:15 PM, Ralph DiMola via use-livecode wrote:
>> Andre,
>> I'm using JSONToArray and ArrayToJSON for round trip with no problems. I'm
>> storing an LC config array in a JSON text file, then later read the fi
On 04/30/2018 03:15 PM, Ralph DiMola via use-livecode wrote:
Andre,
I'm using JSONToArray and ArrayToJSON for round trip with no problems. I'm
storing an LC config array in a JSON text file, then later read the file
back into an LC array. The only criticism I have is the formatting of the
JSON i
> On Apr 30, 2018, at 14:30 , Andre Garzia via use-livecode
> wrote:
>
> Hi Friends,
>
> This is a bit of a rant because I can't believe no one stopped by these
> kind of problems before.
Sounds like what I went through getting MacOS Livecode to tell Applescript to
tell Acrobat to run a J
ecode
Sent: Monday, April 30, 2018 5:30 PM
To: How to use LiveCode
Cc: Andre Garzia
Subject: LC Web integration is not good enough
Hi Friends,
This is a bit of a rant because I can't believe no one stopped by these kind
of problems before.
First of all, the JS Handlers for a browser widget are one
Hi Friends,
This is a bit of a rant because I can't believe no one stopped by these
kind of problems before.
First of all, the JS Handlers for a browser widget are one way only. There
is no way to call a LiveCode function from JS and actually see a response.
You need to code two JS functions, one