#SystemTextJson
I was writing yet another JsonConverter... until I discovered how #DotNet handles polymorphic serialization with just two attributes 😲

Here’s how I ditched boilerplate & made my APIs cleaner with [JsonPolymorphic] + [JsonDerivedType] 🚀👇
wp.me/p29SK-ZB
#CSharp #SystemTextJson #WebAPI #CleanCode
[TIP] From Custom Converters to Attributes: Polymorphic Serialization Made Easy in .NET
Introduction Over the past few days, I’ve been deep in the trenches working with serialization of complex objects in .NET. Like many of us, my go-to method was to create custom JsonConverter classe…
wp.me
May 7, 2025 at 9:39 PM
Con .NET 9, respeta los parámetros requeridos del constructor. ¡Más robustez en tu código! 👉 https://www.variablenotfound.com/2024/09/novedades-de-systemtextjson-en-net-9.html
##dotnet 
December 16, 2024 at 7:20 AM
New versions of Json.More​.Net and Yaml2JsonNode available to update STJ package which was listed as vulnerable. No functional changes, though.

Stay safe, devs!

www.nuget.org/packages/Jso...
www.nuget.org/packages/Yam...

#dotnet #systemtextjson
Json.More.Net 2.0.2
Provides extended functionality for the System.Text.Json namespace.
www.nuget.org
July 22, 2024 at 10:16 AM