Geni Lou

Geni Lou

  • 2k
  • 94
  • 6.6k

XML Serialize Object

Jun 28 2022 6:25 AM

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);


Answers (1)