Built-in JSON functions not working in standalone
pink
nabble at mad.pink
Mon Jan 30 16:12:38 EST 2017
I'm basing my comments on what I see in the Livecode Dictionary:
"The mergJSON external itself can not parse JSON to and from
multi-dimensional arrays. This is achieved through JSONToArray and
ArrayToJSON script functions provided in this library. The implementations
in this library are intented to be generally useful in addition to providing
a basis for implementations focussed on edge cases such as ArrayToJSON that
forces a known element to be an object."
The JSONToArray and ArrayToJSON functions are built into Livecode now.
Again, they work fine in the IDE, it is just in the standalone that it
fails.
Trevor DeVore via use-livecode wrote
> On Mon, Jan 30, 2017 at 11:53 AM, pink via use-livecode <
> use-livecode at .runrev
>> wrote:
>
>> JSON Library is the LCB library with the command JsonImport and
>> JsonExport.
>>
>> Those are not the commands that I am using.
>>
>> I am using JSONToArray which is part of the mergjson external. I've
>> included
>> it in builds and I am still stuck.
>
>
> JSONToArray isn't part of mergJSON. It is a handler that you add to a
> stack
> in the message path. See the README:
>
> https://github.com/montegoulding/mergJSON
>
> --
> Trevor DeVore
> Outcome & ScreenSteps
> www.outcomeapp.io - www.screensteps.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at .runrev
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
-----
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Built-in-JSON-functions-not-working-in-standalone-tp4712045p4712060.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list