© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
12 replies
sinaesthetic

❔ ✅ JsonSerializer not serializing dictionary

I see this was an issue in .NET 6 and fixed in 7 however, it seems to still not be working in my project. All of my projects are on .NET 7 now, rebuilt, etc., dictionaries are being ignored. When I try the same code in LinqPad, it works fine.

Looking for ideas...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ Help Serializing Dictionary
C#CC# / help
4y ago
✅ Serializing/Deserializing a Dictionary with a struct key not working
C#CC# / help
15mo ago
JsonSerializer escaping '&'
C#CC# / help
2y ago
Anomaly with JsonSerializer
C#CC# / help
16mo ago