ASP.NET MVC: Controlling serialization with JsonResult
Is there a way to control the JSON output of JsonResult with attributes, similar to how you can use XmlElementAttribute and its bretheren to control the output of XML serialization? For example, given the following class: public class Foo { [SomeJsonSerializationAttribute("bar")] public String Bar { get; set; } [SomeJsonSe...