> On Jun 23, 2017, at 12:42 PM, Tony Parker via swift-users 
> <swift-users@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?

My experience is almost always lowerCamelCase. Thinking on that now, I wonder 
why that is.

> 3. If JSONEncoder/Decoder converted these, would you have any other need to 
> specify custom keys?

Highly likely. The APIs I've used were developed by different teams and 
generally had data-like names that do not map well into UI properties.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to