Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从服务器收到这个 url 字符串:
{ "image":"http:\/\/site.se\/wp-content\/uploads\/2012\/09\/Hidl\u00f8gsma.jpg" }
值为:
http://site.se/wp-content/uploads/2012/09/Hidløgsma.jpg
使用 Swift 4 Decodable 协议失败并出现错误:
无效的 URL 字符串。
有没有办法让它与上面的字符串一起工作?