I have the following JSON string:
{"d":"{\"Foo\":7,\"Bar\":5,\"Foobar\":3}"}
And the corresponding invocation in my js file:
$.getJSON("Foo.svc/GetSomeFoo", function (response) {
alert(response["Foo"]);
alert(response["Bar"]);
alert(response["Foobar"]);
});
Just trying to write out the values, but can't seem to get it out. It is probably very simple, but I am not finding anything helpful while googling it.