Hyphen in keys
daverickdunn opened this issue · 3 comments
daverickdunn commented
Using a hyphen in the object key names doesn't play very well with JavaScript and other languages. Please consider using underscores or camelCase.
lukes commented
Thanks for your comment.
I agree. I'm tempted to go with underscores, just because one of the keys is iso_3166-2
, and camelized it would become iso31662
.
What do you think?
andrerpena commented
I would prefer camelCase like "countryCode" but snake case, as proposed, for me, is better than kebab case.