Serialization to and from JSON document file using DataContractJSonSerializer object

Description and code samples

In order to serialize an object to JSON using the DataContractJSonSerializer object the following is required: The “DataMember” attribute is used to mark the properties to serialize (private or public). With this attribute is possible to set the output name of each property, if … Continue reading