Created
September 16, 2015 00:13
-
-
Save zekesonxx/8fa351cf7cec21fe7c43 to your computer and use it in GitHub Desktop.
NATO Phonetic Alphabet in JSON. Just in case someone needs it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"A": "Alfa", | |
"B": "Bravo", | |
"C": "Charlie", | |
"D": "Delta", | |
"E": "Echo", | |
"F": "Foxtrot", | |
"G": "Golf", | |
"H": "Hotel", | |
"I": "India", | |
"J": "Juliett", | |
"K": "Kilo", | |
"L": "Lima", | |
"M": "Mike", | |
"N": "November", | |
"O": "Oscar", | |
"P": "Papa", | |
"Q": "Quebec", | |
"R": "Romeo", | |
"S": "Sierra", | |
"T": "Tango", | |
"U": "Uniform", | |
"V": "Victor", | |
"W": "Whiskey", | |
"X": "X-ray", | |
"Y": "Yankee", | |
"Z": "Zulu" | |
} |
Used this for https://www.codewars.com/kata/586538146b56991861000293/train/javascript. Thanks!
thanks!
TY for posting this !
Saved me 5 minutes : ) thanks
In case anyone is like me and prefers single quotes, tabs, ending commas (for version control), and no quotes on keys in json:
const PHONETIC_CHARS = {
A: 'Alfa',
B: 'Bravo',
C: 'Charlie',
D: 'Delta',
E: 'Echo',
F: 'Foxtrot',
G: 'Golf',
H: 'Hotel',
I: 'India',
J: 'Juliett',
K: 'Kilo',
L: 'Lima',
M: 'Mike',
N: 'November',
O: 'Oscar',
P: 'Papa',
Q: 'Quebec',
R: 'Romeo',
S: 'Sierra',
T: 'Tango',
U: 'Uniform',
V: 'Victor',
W: 'Whiskey',
X: 'X-ray',
Y: 'Yankee',
Z: 'Zulu',
};
catch keyvalue pairs
const NATO_ALPHABET_EN: KeyValue<string, string>[] = [
{ key: 'A', value: 'Alfa' },
{ key: 'B', value: 'Bravo' },
{ key: 'C', value: 'Charlie' },
{ key: 'D', value: 'Delta' },
{ key: 'E', value: 'Echo' },
{ key: 'F', value: 'Foxtrot' },
{ key: 'G', value: 'Golf' },
{ key: 'H', value: 'Hotel' },
{ key: 'I', value: 'India' },
{ key: 'J', value: 'Juliett' },
{ key: 'K', value: 'Kilo' },
{ key: 'L', value: 'Lima' },
{ key: 'M', value: 'Mike' },
{ key: 'N', value: 'November' },
{ key: 'O', value: 'Oscar' },
{ key: 'P', value: 'Papa' },
{ key: 'Q', value: 'Quebec' },
{ key: 'R', value: 'Romeo' },
{ key: 'S', value: 'Sierra' },
{ key: 'T', value: 'Tango' },
{ key: 'U', value: 'Uniform' },
{ key: 'V', value: 'Victor' },
{ key: 'W', value: 'Whiskey' },
{ key: 'X', value: 'X-ray' },
{ key: 'Y', value: 'Yankee' },
{ key: 'Z', value: 'Zulu' },
];
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks!