diff --git a/.swift-version b/.swift-version index 9f55b2cc..cb2b00e4 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.0 +3.0.1 diff --git a/Source/SwiftyJSON.swift b/Source/SwiftyJSON.swift index ef8adbce..f063e8ac 100755 --- a/Source/SwiftyJSON.swift +++ b/Source/SwiftyJSON.swift @@ -1133,9 +1133,9 @@ extension JSON { } set { #if os(Linux) - self.object = newValue?.absoluteString._bridgeToObjectiveC() + self.object = newValue?.absoluteString._bridgeToObjectiveC() as Any #else - self.object = newValue?.absoluteString + self.object = newValue?.absoluteString as Any #endif } }