Y - is my object serialized in a weird way when using newtonsoft.json from ASP.Net Web API?
var s = JsonConvert.SerializeObject(request, Formatting.None, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
Print a line as shown below
"{\"head\":{\"version\":\"1.0\",\"serial\":\"20140102,6,125\",\"skinId\":\"Test\""
I want to send a Json format string to a third-party service (they only accept Json format ).
Any help is greatly appreciated.
Cheers S
source share