I created an MVC 2 action which is supposed to return JSON.
When i verified the output in jsonlint.com, the result was 'invalid JSON'
The code used was;
public ActionResult MarketList()
var mkt = db.GetDailyList();
return Json(mkt, JsonRequestBehavior.AllowGet);
Is this correct?
I also noticed that when i pasted the raw JSON feed from the URL into the jsonlint.com textbox, it was valid.
What could be going on here?
View Complete Post