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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #816 · 2.8K reputationPosted Jun 28, 2022, 4:46 AM EDT