System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type viewmodel. DateTime content
<p>I am working on WEBAPI on .net framework 4.5.
when i  am calling webapi to get data from  MVC controller then i am getting below error.could you please suggest how to resolve this problem.can i use other way  instead of using my current approach implementation.</p>

<p><strong>System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type viewmodel. DateTime content '2016-06-15T12:12:25' does not start with '/Date(' and end with ')/' as required for JSON. ---> System.FormatException:</strong></p>

<p><strong><em>my code base</em></strong></p>

<p>object resultView = client.UploadString(url, "POST", jsonString);</p>

<pre><code>DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Responseobject));
                                       MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(resultView.ToString()));
                                       Responseobject objLocalResponse = new Responseobject();
                                       objLocalResponseobject = (Responseobject)ser.ReadObject(ms);
</code></pre>