System Text JSON Converters And Polymorphism

Use when System.Text.Json needs custom value handling — a JsonConverter<T> for a type STJ can't round-trip out of the box (custom dates, value objects, unions), string enums, or polymorphic (base/derived) serialization with a type discriminator.

richlander Updated 161 repo stars

File contents

richlander/dotnet-package-skills commit 70cb68d88f

Frequently asked questions

npx get-skill add richlander/system-text-json-converters-and-polymorphism