I have a JSON object like:
var myObject = { '0' : 'blue' };
Now, in JavaScript, when I try to access the value of the key '0' like:
myObject.0
...I am getting an error. (Maybe this is not the proper way?)
How can I access the value of a key that is a number (like the above)?