I am trying to use Codable to automatically parse incoming JSON
into my models. It is working fine, but then I learnt about _keyDecodingStrategy_
, and wanted to use this. It is working great and able to lessen my code as I do not have to write CodingKeys
enum for my models.
But now the problem is a new variable sent from server. The variable is post_url_110x110
.
I thought it will convert to postUrl110x110
, but it doesn't. Do help me into its camelCase
conversion or suggest if I should avoid automatic conversion in this case.