Updated Branches: refs/heads/develop 00be4b995 -> 02eba9977
Must use bracket syntax to keep closure compiler from renaming fields Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ebdc5a74 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ebdc5a74 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ebdc5a74 Branch: refs/heads/develop Commit: ebdc5a74a4bfc5ddf715e3b8dd0bbc58f02c3861 Parents: 14a14f6 Author: Alex Harui <aha...@apache.org> Authored: Tue Apr 9 23:06:23 2013 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Fri Apr 12 00:00:34 2013 -0700 ---------------------------------------------------------------------- .../src/StockDataJSONItemConverter.as | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ebdc5a74/examples/FlexJSTest_again/src/StockDataJSONItemConverter.as ---------------------------------------------------------------------- diff --git a/examples/FlexJSTest_again/src/StockDataJSONItemConverter.as b/examples/FlexJSTest_again/src/StockDataJSONItemConverter.as index a030fe0..c381db1 100644 --- a/examples/FlexJSTest_again/src/StockDataJSONItemConverter.as +++ b/examples/FlexJSTest_again/src/StockDataJSONItemConverter.as @@ -30,7 +30,7 @@ package override public function convertItem(data:String):Object { var obj:Object = super.convertItem(data); - return obj.query.results.quote.Ask; + return obj['query']['results']['quote']['Ask']; } } } \ No newline at end of file