I have a simple getJson request:
$.getJSON('JsonTest', function(o) {
alert(o.Test);
});
It works, but in Firebug the "o" never gets turned into an object, but stays a string:
{"Test":"Hello"}
If I do an
eval('(' + o + ')')
It gets evaluated fine, the only thing I can think of is that there's some sort of cross site scripting problem, but I'm running everything on my development machine, the JsonTest is off of localhost:port/Controller/JsonTest
Any ideas as to what could be wrong? How do I check to see whether or not it is a cross site issue? Any other ideas?