I am receiving a json as follows:
{
"soce":{
"message":{"details":"No Details available now.","code":"123"},
"number":"500"
}
}
I am using Newtonsoft JsonConvert. I do not want to serialize the value in message as json but as a string.
I tried to update the json to include the value of message in quotes but that did not work.
{
"soce":{
"message":"{"details":"No Details available now.","code":"123"}",
"number":"500"
}
}
Is there a way to indicate the deserializer not to deserialize a part of json?