serializaton

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...

Is serialVersioUID require in Interfaces(I hope not)?

My understanding is serialVersionUID is applicable only to classes, because we can create an object only to classes and the concept of serialVersionUID is for object serialization and deserialization. ...