C#C
C#4y ago
Tim

System.Text.Json.Serialize returns emtpy map

Hey! 👋
Any idea, why my System.Text.Json-Serialize returns an empty map?
response = new Response(404, "Endpoint not found");
JsonSerializer.Serialize(response)
Response-Class: https://haste.devcord.club/tonasutapi.cs
Was this page helpful?