Hello,
I have JSON string:
var Jstring = "{"1":1,"2":2}";
I need to convert the Jstring to JavaScript array like this: var array =
[1,2];
I try this, but unsuccessfully:
var array = JSON.parse(Jstring);
Best regards,
JaromÃr.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Convert-JSON-string-to-array-tp7585506.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel