I have a JSON passed to script. I do not know JSON keys as they are dynamic.
Actually, they are numbers. That\'s what I\'m getting.
var countries = {\"223
Instead of this:
countries.objKey;
Do this:
countries[objKey];
With square bracket notation, you can use the value referenced in a variable (or use a string or number) to reference the property name.