Json to C# Update
What type of request is this?
New feature for an existing tool
Clear and concise description of the feature you are proposing
Update the current conversion tool to support Record Types, as well as json serialization using System.Text.Json instead of just NewtonSoft
Is their example of this tool in the wild?
I use this website in particular and I'd love to see it implemented into IT-Tools, especially all the options it provides
https://json2csharp.com/
Additional context
I found that a sub-fork has this option semi implemented, but using C# classes and only newtonsoft, but new recommendations say to use the record class type with the built in System.Text.Json namespace
Validations
- [x] Check the feature is not already implemented in the project.
- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [x] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
Hi @RiisDev , as the author of sub fork, will probably update
Hi @RiisDev , started rewriting npm package with https://json2csharp.com/ options
Hi @RiisDev , you can take a look at : https://sharevb-it-tools.vercel.app/json-to-csharp (may be need Ctrl+F5)
And if you arr interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools) and I integrated your fix
Hi @RiisDev , you can take a look at : https://sharevb-it-tools.vercel.app/json-to-csharp (may be need Ctrl+F5)
And if you arr interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools) and I integrated your fix
Perfect! You're the best, running the docker now. one thing I was wondering, is there a way we can expand the width of the json-to-csharp panels as it standard is very very very crunched, which still I don't mind just thoughts!
Hi @RiisDev, latest versions for my fork should be now more "wide"