Ios swift – In Swift, how do I decode both lower case and pascal case JSON using Decodable protocol?
Until recently, I have been able to decode both lower case ("fooBar") JSON and pascal case ("FooBar") JSON using the Decodable protocol by simply including a CodingKeys enum like this... enum CodingKeys: String, CodingKey { case bars = "Bars" }…