JSON stringify

mattgolsen's picture

In looking at the JSON comp that smokris posted, I was trying to create a Javascript patch that did the reverse; convert a structure into a JSON string. DoesQC Javascript not support stringify? I figured since it supported parse, that it would include stringify as well.

If not, can anyone point me in the direction to accomplish this with JS?

jean_pierre's picture
Re: JSON stringify

JSON.stringify is available (on 10.7 at least, i didn't check 10.6 but would be surprised if it were missing) and seems to work on keyed structures, what kind of object are you attempting to stringily?

PreviewAttachmentSize
Stringin_On_It.qtz5.76 KB