I am trying to parse JSON string into JObject
using JObject.Parse()
.
But its not working ,This is my code:
string json="{\"hashkey\":\"paphAsethE2rexev6c5qAbayu3ebEc\",\"expiration\":\"2016-11-24T12:00:00.000Z\"}";
JObject resourceJson = JObject.Parse(json);
return Ok(resourceJson);
but in the output some value of expiration is missing that is(.000)
Expected Result:
{
"hashkey": "paphAsethE2rexev6c5qAbayu3ebEc",
"expiration": "2016-11-24T12:00:00.000Z"
}
the result which i am getting is:
{
"hashkey": "paphAsethE2rexev6c5qAbayu3ebEc",
"expiration": "2016-11-24T12:00:00Z"
}
please help