Object to string and back

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
toralf
Posts: 868
Joined: 27 Apr 2014, 21:08
Location: Germany

Object to string and back

23 Jul 2018, 14:27

Is there a script available that transforms an object (mixture of arrays and associated Arrays) to a string and vice versa?
ciao
toralf
gregster
Posts: 9047
Joined: 30 Sep 2013, 06:48

Re: Object to string and back

23 Jul 2018, 15:06

For JSON or JSON-similar objects you could use, for example, Coco's JSON class or functions.

But I use also this in one of my scripts for normal arrays, as far as I remember: https://autohotkey.com/boards/viewtopic.php?f=6&t=3573 (but I assume that it also can handle associative arrays)
toralf
Posts: 868
Joined: 27 Apr 2014, 21:08
Location: Germany

Re: Object to string and back

23 Jul 2018, 16:35

Thank you for your reply. I had looked at a JSON function before, but wasn't aware that I was looking at the Webpage. I now found the class.
ciao
toralf

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Tvlao and 333 guests