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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to