Skip to content

Instantly share code, notes, and snippets.

@cef62
cef62 / JSONConverter.as
Created July 4, 2012 12:43 — forked from sinnus/Converter.as
An utility class to permit deserialization from JSON strings to As3 Typed Objects. To original implementation by Sinnus, I've added possibilities to define mapping for properties typed as Interfaces. The Mapping can be supplied via registerClassAlias() me
package
{
import flash.net.getClassByAlias;
import flash.utils.describeType;
import flash.utils.getDefinitionByName;
import flash.utils.getQualifiedClassName;
import mx.utils.ObjectUtil;
public class JSONConverter