4 ms·
The new Roslyn incremental generator API is pretty good these days but not well documented yet. I’ve been using it with json-schema to save a lot of boilerplate
by celdon25 2y ago
The new Roslyn incremental generator API is pretty good these days but not well documented yet. I’ve been using it with json-schema to save a lot of boilerplate and provide a more intuitive declarative framework in a large side project.
- CharlieDigital 2y agoI have an older variant on this hacked together as a weekend project. https://github.com/CharlieDigital/js2c https://github.com/CharlieDigital/js2c Takes an input snippet of JSON and builds up classes as serialization targets.