Support nested custom CodingKeys for Codable types

And if you develop this wish towards more brevity, you'd arrive at what was suggested initially :slight_smile:

Plus, with the proper implementation, it can take care of any of the above scenarios. Its simplicity and effectiveness would be a Swiss Army knife in the realm of JSON parsing.

As far as the form it would take, the tuple (or rather array, since you can't know how many elements it could contain) approach also seems interesting.