Computers don’t require JSON code to be formatted in order to read it, but humans do.
JSON Formatter is a little C# program to format JSON text.
You can either paste unformatted JSON text into the textbox, or load in a JSON file on your computer and then select the ‘Format JSON’ option from the file menu. To save the formatted version just copy and paste it into other documents.
JSON Formatter was written in C# using Visual Studio 2022 Community Edition.
Requirements
Setup and Installation
That's it! You can now test the project and see if it works properly as it supposes to be. You can directly enter or paste an unformatted JSON Data at the provided text field or you can also load JSON File. Then, in the menu bar, click the File >> Format JSON. The unformatted JSON Data in the text field will be replaced with a formatted one.
I hope this JSON Formatter in C# will help you with what you are looking for.
Enjoy
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.