How can serialize object in XML? I use the code below in JSON but I dont know how it works in XML..
var body = JsonConvert.SerializeObject(model);
request.AddParameter("application/json", body, ParameterType.RequestBody);
How can serialize object in XML? I use the code below in JSON but I dont know how it works in XML..
var body = JsonConvert.SerializeObject(model);
request.AddParameter("application/json", body, ParameterType.RequestBody);
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Guest UserPosted Jun 28, 2022, 8:46 AM