© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
94 replies
ShadowWizard

❔ Serialize objects from non-standard format

Hello, I am trying to serialize objects from a non-standard format and dont know how to go about it without it being complete regex or string splitting hell, any tips?
The data is in text files is formatted accordingly (not all properties are always present and sub properties have variable amount of properties and can be nested):

obj_name_1 = {
prop_1 = 129864
prop_2 = hello
prop_3 = {
other_prop = bye
other_prop = 56
}
prop_4 = 69
}

obj_name_2 = ...

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

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

JsonSerializer serialize 2 objects
C#CC# / help
4y ago
Nice ways to partially serialize and deserialize objects?
C#CC# / help
2y ago
❔ Reference ProjectReference with non-standard file extension
C#CC# / help
3y ago