I have following json object:
{ "id": "109",
"No. of interfaces": "4" }
Following lines work fine:
alert(obj.id);
alert(obj["id"]);
But if keys have spaces then I cannot access their values e.g.
alert(obj."No. of interfaces"); //Syntax error
How can I access values, whose key names have spaces? Is it even possible?