I am trying to create an object of DataContractJsonSerialize
using System.Runtime.Serialization.Json; does not work, I am using .Net 4.0 I have added a referece to System.ServiceModel.Web, i also have using System.ServiceModel.Web; in my using statements.
everywhere i read said to adda reference to System.ServiceModel.Web.dll, but that did not fix it for me
According to MSDN, DataContractJsonSerializer
is implemented in System.Runtime.Serialization.dll
:
http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx
Make sure you have a reference to that assembly?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With