On 2/23/16, 9:35 PM, "lizhi" <s...@qq.com> wrote:

>the flexjs just 0.6 beta.
>if the 0.7 have this function is good.
>it is just give my idea.
>thanks your hard work

It is unlikely I will have time to figure out how to do code-flow analysis
any time soon, but maybe someone else will.

BTW, did you try using bracket syntax and/or string constants?

var json:Object = JSON.parse("{\"abcdefg\":1212121}");
alert(json['abcdefg']);

Or

const ABCDEFG:String = "abcdefg";
var json:Object = JSON.parse("{\"abcdefg\":1212121}");
alert(json[ABCDEFG]);

The latter will help you catch misspellings of the property name.

-Alex



Reply via email to