public static void Main()
"data": "<BusinessModel xmlns:xsi=...</BusinessModel>"
"data": "<BusinessModel xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" />"
"data": "<BusinessModel xmlns:xsi=</BusinessModel>"
Console.WriteLine("Newtonsoft deserialize");
var newtonResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<GetResponse>(json);
Console.WriteLine("System.Text.Json deserialize");
var systemResponse = System.Text.Json.JsonSerializer.Deserialize<GetResponse>(json);
Console.WriteLine("System.Text.Json deserialize lowercase");
var systemLowerCaseResponse = System.Text.Json.JsonSerializer.Deserialize<GetResponseLowerCase>(json);
systemLowerCaseResponse.Dump();
public record GetResponse(Information[] Data);
public record Information(string Key1, int? Key2, string Key3, string Data);
public record GetResponseLowerCase(InformationLowerCase[] data);
public record InformationLowerCase(string key1, int? key2, string key3, string data);