I am convert Json to Json String.
string callbackResponse = Newtonsoft.Json.JsonConvert.SerializeObject(result);
Getting result like :
{
"data": "{\r\n \"DemoData\": {\r\n \"value\": \"value1\"\r\n}",
"Status_cd": 1
}
I want Result Like :
{
"data": {
"DemoData": {
"Value": "value1"
},
"Status_cd": "1"
}
}
alos try with :
`Newtonsoft.Json.JsonConvert.DeserializeObject<string>(result`)
but not working for me.here result is a dynamic parameter.
need to save json in String but in unescape format can anyone help please?