Online tool to convert JSON to C# object format
Solution 1
I think following link will help.
Actually it uses the same project which achitaka-san said in his post. You can create a simple WebService in any host and use it.
Solution 2
This application generates C# classes from a sample JSON text, so you can use strongly typed programming with JSON.
http://jsonclassgenerator.codeplex.com
This is not online, but you just download an EXE, paste your JSON and get a c# class - taht's it.
Related videos on Youtube
jedd.ahyoung
I'm a professional programmer, currently working for a private company called Surge Forward (based in Washington state). I'm currently working with C#, MVC4, Angular, and jQuery. I have some experience with C++ (although I don't use it much) and I used to be really interested in Flash/Actionscript 3 until HTML5 and Javascript became the norm. I've had experience with Perl, I'm attempting to really learn Python, and I also have experience with PHP and Wordpress. Previous jobs have also given me experience in Unix/Linux systems administration, knowledge of Cisco routing and switching, and general networking experience. StackOverflow has given me a lot over the years and I really hope to be able to give back.
Updated on September 15, 2022Comments
-
jedd.ahyoung over 1 year
I'm looking for a quick and simple way to convert large JSON objects in a text file to C# object notation for a company project. I would prefer an online solution (similar to jsbeautifier.org) that would take my code, parse it, and return a C# formatted object.
Are there any tools (preferably online) that will do this? I'm hoping not to do this by hand, but writing a script might take time that I don't have right now. (I'm not too well-versed with C# library calls.)
Thank you!
-
user20358 almost 9 yearsIs there a way to generate this with the data it contains? I mean like a complete C# object that also contains the data from the JSON string.