© 2026 Hedgehog Software, LLC

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

❔ Help with TypeGen and default values

anyone here used typegen before? I'm finding that it populates fields with long JSON type definitions rather than the obvious -- simply
new Type()
new Type()
for instance in C# the ctor sets
this.Foo = new Foo();
this.Foo = new Foo();
but in ts it's
foo: Foo = {...... lots of stuff .....}
foo: Foo = {...... lots of stuff .....}
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

✅ need some help with pre default values :C
C#CC# / help
3y ago
✅ deserializing records with STJ results in default values
C#CC# / help
2y ago
❔ Implement New Class to JSON with Default Values
C#CC# / help
3y ago
✅ Give object default values (destroy?)
C#CC# / help
3y ago