惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Docker
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 聂微东
MyScale Blog
MyScale Blog
H
Help Net Security
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
M
MIT News - Artificial intelligence
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏

博客园 - 毛毛亟亟

ectouch 微信支付成功后订单状态未改变的解决办法 (转载) SQLSERVER2008以上版本的数据恢复 windows 2012(64位) IIS配置asp程序 500 - 内部服务器错误。您查找的资源存在问题,因而无法显示。 终于遇到了传说的ie 6 img 3px的bug This template requires a more recent version of the Android Eclipse plugin. Please update from versi This Android SDK requires Android Developer Toolkit version 20.0.0 or above CodeSmith Professional 5与VS2010有冲突 VS2005调试无法进入断点,暂停、停止、重编按钮为灰色 VS2005重置所有设置 flex 3中FileReference无法使用save()的问题 无法为区域设置“en_US”解析资源束“ViewerStrings” flexbuilder安装格式化组件和VSS组件 从旗舰版VS2010到部署完善MVC4成功,流程记录 sqlserver 2005与sqlserver2008的日志清理 [转载]如何学习Flex Framework .net读取ini配置文件的操作 使用VS2010开发服务端程序时每次安装服务名都是service1 extjs中grid的单击行或者双击行事件 获取Extjs中的TreePanel中所有的被checked的叶子节点的id
Flex String JSON 转换成 ArrayCollection
毛毛亟亟 · 2012-08-29 · via 博客园 - 毛毛亟亟

String to JSON  , JSON to ArrayCollection

==============

import com.adobe.serialization.json.JSON

var rawData:String = String('[{"name":"zhanzhihu","age":22,"gender":"male"},{"name":"zhanzhihu2","age":22,"gender":"male"}]'); 

var ac:ArrayCollection = new ArrayCollection(JSON.decode(rawData) as Array );

注意:String中属性必须带上"",如"name"。