I\'m trying to serialize a class hierarchy to a Json string using DataContractJsonSerializer, in a WCF service. the default behaviour for serializing a derived clas
DataContractJsonSerializer
Adding the namespace parameter to the data contract does the trick. [DataContract(Namespace = "")]
[DataContract(Namespace = "")]