Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1: Два одинаковых name у стран
- Результат:
- "phone_prefixes": [
- "+1-876",
- "+1-658"
- ],
- "phone_format": {
- "+1-876": "---- ----",
- "+1-658": "--- ----"
- },
- "countries": [
- {
- "name": "Jamaica",
- "flag_url": "",
- "phone_prefix": "+1-876",
- "phone_format": "---- ----"
- },
- {
- "name": "Jamaica",
- "flag_url": "",
- "phone_prefix": "+1-658",
- "phone_format": "--- ----"
- }
- ],
- 2: два страны с одинаковыми префиксами
- Результат:
- "phone_prefixes": [
- "+7",
- "+7"
- ],
- "phone_format": {
- "+7": "---- ----"
- },
- "countries": [
- {
- "name": "Kazakhstan",
- "flag_url": "",
- "phone_prefix": "+7",
- "phone_format": "---- ---"
- },
- {
- "name": "Russia",
- "flag_url": "",
- "phone_prefix": "+7",
- "phone_format": "---- ----"
- }
- ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement