The mergJSON external is already included in LCServer - mergJSONEncode
and mergJSONDecode work fine; it's just the convenience functions
(arrayToJSON and JSONToArray) which are missing. They are very short,
and can be found in the dictionary entries for those main functions, and
then simply copied/pasted into your own script or library.
-- Alex.
On 25/11/2017 15:13, pink via use-livecode wrote:
ArrayToJSON is from the mergJSON external... so in order for you to use it,
you would need to be able to access the external through your server
installation. I don't know if that is possible...
My recommendation would be to use a library such as fastJSON. I use fastJSON
with LC Server all the time without issue.
-----
---
Greg (pink) Miller
mad, pink and dangerous to code
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode