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.cs2 Replies