© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•15mo ago•
92 replies
Alexis 🫐

Json string to a class object but not {get; set; } !

So I have a class that I did and I did some constructors to avoid the {get; set; }
And I have a Json string that I want to use to fill my class, can I like put the Json to a dictionnary and then fill my variables with it ?
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?
Next page

Similar Threads

✅ EF Json column - object reference not set to an instance of an object
C#CC# / help
3y ago
❔ Saving a JSON object to Database
C#CC# / help
3y ago
❔ Deserializing Json to class
C#CC# / help
3y ago