Skip to content

michaelgirg/JSON-Formatter-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”§ JSON Formatter & Validator

This tool reads a JSON file, validates its structure, and outputs a neatly formatted (pretty-printed) version of it. It is helpful for debugging, reading complex JSON, or preparing JSON for documentation.


βœ… Features

  • Validates JSON input
  • Pretty-prints JSON with 4-space indentation
  • Saves the output to a new file with _formatted.json suffix
  • Simple CLI-based interaction

🧰 Requirements

  • Python 3.6 or higher
  • No external libraries needed (uses built-in json module)

πŸš€ How to Run

  1. Open terminal in this folder.
  2. Place your input JSON file in the same directory.
  3. Run the script with:
python json_formatter.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages