[swift-users] JSON keys survey
Rien at Balancingrock.nl
Sat Jun 24 00:44:16 CDT 2017
> On 23 Jun 2017, at 18:42, Tony Parker via swift-users <swift-users at swift.org> wrote:
> 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?
Mostly CamelCase but sometimes Capitalised Spaced Out Keys
> 2. Is the key type consistent throughout the JSON?
Depends on usage
> 3. If JSONEncoder/Decoder converted these, would you have any other need to specify custom keys?
> - Tony
> swift-users mailing list
> swift-users at swift.org
More information about the swift-users