Avatar
omochimetaru 4/26/2018 2:29 AM
@swiftbot import Foundation struct User: Codable { var name: String } let u = User(name: "hoge") let a = try! JSONEncoder().encode(u) print(String.init(data: a, encoding: .utf8))
🛠 1