加载JSON Flex中更快更快、加载、JSON、Flex

由网友(哥い很霸道)分享简介:我有一个Flex应用程序,我加载一个JSON文件,4万多件。有没有的Flex提供了一种方式来加载这个文件快?I have a Flex application,I am loading a JSON file with more than 40,000 items. Does Flex provide a way t...

我有一个Flex应用程序,我加载一个JSON文件,4万多件。有没有的Flex提供了一种方式来加载这个文件快?

I have a Flex application,I am loading a JSON file with more than 40,000 items. Does Flex provide a way to load this file faster?

推荐答案

目标的Flash Player 11和使用新的本地JSON解析:

Target Flash Player 11 and use the new native JSON parse:

var obj:Object = JSON.parse( value );

http://www.skyript.com/2011/07/json-parsingencoding-with-native-parser.html

阅读全文

相关推荐

最新文章