Interactive tool to convert JSON format to C #

I am looking for a quick and easy way to convert large JSON objects into a text file into a C # object notation for a company project. I would prefer an online solution (similar to jsbeautifier.org) that will take my code, parse it and return an object with formatting in C #.

Are there any tools (preferably online) that will do this? I hope not to do this manually, but it may take a while for the script to write, which I don’t have right now. (I'm not too good at calling C # library.)

Thanks!

+6
source share
2 answers

I think the following link will help.

Generate c # classes from json

In fact, he uses the same project that Ahitaka-san said in his post. You can create a simple WebService on any host and use it.

+6
source

This application generates C # classes from a JSON sample, so you can use strongly typed programming with JSON.

http://jsonclassgenerator.codeplex.com

It is not online, but you just load the EXE, insert JSON and get the C # class - taht it.

enter image description here

+5
source

Source: https://habr.com/ru/post/922523/


All Articles