     
     public func mapping(map: Map)  {
         message <- map[PFSNetworkServiceStatic.__message]
-        code <- (map[PFSNetworkServiceStatic.__code], transform)
+        let codeType = map.JSON[PFSNetworkServiceStatic.__code]
+        
+        if codeType is Int {
+            code <- (map[PFSNetworkServiceStatic.__code], transform)
+        }else {
+            code <- map[PFSNetworkServiceStatic.__code]
+        }
+        
         result <- map[PFSNetworkServiceStatic.__result]
     }
 }

    
    public func mapping(map: Map)  {
        message <- map[PFSNetworkServiceStatic.__message]
        code <- (map[PFSNetworkServiceStatic.__code], transform)
        result <- map[PFSNetworkServiceStatic.__result]
    }
}

    
    public func mapping(map: Map)  {
        message <- map[PFSNetworkServiceStatic.__message]
        
        let codeType = map.JSON[PFSNetworkServiceStatic.__code]
        
        if codeType is Int {
            code <- (map[PFSNetworkServiceStatic.__code], transform)
        }else {
            code <- map[PFSNetworkServiceStatic.__code]
        }
        
        result <- map[PFSNetworkServiceStatic.__result]
    }
}
