double quotes in returned json
You don't need to serialize into JSON yourself, this should do:
public JsonResult Test() {
var employee = new Employee { FullName = "Homer Simpson" };
return Json(employee, JsonRequestBehavior.AllowGet);
}
Your code effectively serializes it twice, which gives you a string result.
The valid response should actually be this:
{"FullName":"Homer Simpson"}
(without the surrounding quotes)