 }
 
 extension NSDictionary {
+    ///
+    /// 序列化
+    ///
+    public override func serialize() -> AnyObject? {
+        let dic = NSMutableDictionary()
+        forEach {
+            guard let tmp = _serialize($0) else {
+                return
+            }
+            guard let key = NSString.deserialize(tmp) else {
+                return
+            }
+            guard let value = _serialize($1) else {
+                return
+            }
+            dic[key] = value
+        }
+        return dic
+    }
     ///
     /// 反序列化, 提供一些转换
     ///


extension NSArray {
    ///
    /// 反序列化, 提供一些转换
    ///
    public override class func deserialize(o: AnyObject) -> NSArray? {

    /// 序列化
    ///
    public override func serialize() -> AnyObject? {
        return self.allObjects.serialize()
    }
    ///
    /// 反序列化, 提供一些转换
