In order to make our API even more dev-friendly, we are going to replace dashes with underscores in the field names of our JSON responses.
Foer example, the field named: "country-code" , has been updated to "country_code".
Also some fields have been renaming entirely like:
is-daylight-saving -> is_dst
country-iso-code -> country_code
The main reason behind why are we changing our naming conventions, is that most of web-oriented programming languages, can automatically convert JSON strings into objects.
PHP for example, can convert JSON and use a simple:
$obj->name_field
instead of an ugly:
"$obj->{'name-field'}"