struct Animal: Codable { var numberOfLegs: Int }. Add Codable as a trait to ... With a Codable type you can encode to JSON string easily.
確定! 回上一頁