[swift-users] JSON keys survey
rimantas at gmail.com
Fri Jun 23 15:37:34 CDT 2017
> This has come up a few times in recent threads, and I wanted to gather
> some additional info on your real world use cases. Just reply to me, and
> any input is appreciated:
> 1. Does your JSON use snake_case_keys or CamelCase or other?
In other cases however snake_case is preferable as it is somewhat easier to
> 2. Is the key type consistent throughout the JSON?
Hopefully. Inconsistent APIs are painful.
> 3. If JSONEncoder/Decoder converted these, would you have any other need
> to specify custom keys?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users