Geni Lou

Geni Lou

  • NA
  • 101
  • 24.4k

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)