actionscript 3 - AS3 I need to convert a string from input to an AS3 object -


how can this? here's have:

function send(input):void{    // input.text = "{key: 'value'}"    var x:* = stringtoobject(input.text)     // able    var y:* = x.key;     // y must equal 'value'    trace(y) // string } 

you'll need include json library able parse json strings objects.

reference as3corelib library more info.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -