类型化的 AS3 JSON 编码器和解码器?

问题描述:

我需要以类型化的方式对 AS3 对象进行编码和解码.http://code.google.com/p/as3corelib/ 仅支持无类型编码和解码.http://code.google.com/p/ason/ 支持某种类型的对象但不是很健壮,例如它在日期对象上失败.有什么建议吗?

I need to encode and Decode AS3 Objects in a typed manner. http://code.google.com/p/as3corelib/ only supports untyped encoding and decoding. http://code.google.com/p/ason/ supports some kind of typed objects but is not very robust, e.g. it fails on Date Objects. Any Recommendations ?

明确表示:它必须是 JSON,并且必须是强类型和健壮的.

To make it clear: It MUST be JSON and it MUST be strong typed and robust.

我现在已经分叉了 http://code.google.com/p/as3corelib/ 并添加了类型化对象支持...

I have now forked the json part of http://code.google.com/p/as3corelib/ and added typed object support...