C
C#2y ago
Stroniax

❔ Non-Dictionary Default Json Converter

I have an interface I have to implement which is derived from IReadOnlyDictionary<,>. This must be implemented by many classes. I don't want to write custom converter logic for all of these types, is there a way to tell the System.Text.Json.JsonSerializer to not use the dictionary converter and instead to use its regular converter logic for these types?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.