       switch property {
       case is Int?:
         if unwrappedValue is String {
-          if let intValue = "\(unwrappedValue)".toInt() {
+          if let intValue = Int("\(unwrappedValue)") {
             newValue = intValue as? T
           }
         }

  return array
}

// MARK: JSON String Deserialization

private func dataStringToObject(dataString: String) -> AnyObject? {
  var data: NSData = dataString.dataUsingEncoding(NSUTF8StringEncoding)!
  var error: NSError?
  return NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions(0), error: &error)
}

public func <-- <T: Deserializable>(inout instance: T?, dataString: String) -> T? {

public func <-- <T: Deserializable>(inout array: [T], dataString: String) -> [T] {
  return array <-- dataStringToObject(dataString)
}

public func <-- <T: Deserializable>(inout map: [String: T]?, dataString: String) -> [String:T]? {
    return map <-- dataStringToObject(dataString)
}

public func <-- <T: Deserializable>(inout map: [String: T], dataString: String) -> [String:T] {
    return map <-- dataStringToObject(dataString)
}


