System.Text.Json – How to customize serialization with JsonConverter
Most of the time JsonSerializer will get you want you want. You can pass in options to control serialization to a certain extent. But sometimes you’ll run into scenarios where you need to customize how it handles serialization for a specific type. This is where JsonConverter comes in. To customize serialization for a specific type, … Read more System.Text.Json – How to customize serialization with JsonConverter