I want to convert Dictionary key,value Object to nested JSON, but I'm unable to do so.
I'm using Newtonsoft.Json.JsonConvert.SerializeObject(myobject);
Can someone please help me out. I have something like this
"operation":"pay"
"order.amount":"100"
"order.currency":"PKR"
amount and currency should be nested.