} else if T.self == URL.self { // Encode URLs as single strings. return self.box((value as! URL).absoluteString)