[swift-users] JSON keys survey

Tony Parker anthony.parker at apple.com
Fri Jun 23 11:42:19 CDT 2017


Hi all,

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?
2. Is the key type consistent throughout the JSON?
3. If JSONEncoder/Decoder converted these, would you have any other need to specify custom keys?

Thanks,
- Tony



More information about the swift-users mailing list