The JSON Value Remover is a lightweight command-line tool developed in Python to remove values from a JSON file. It provides a convenient way to clean sensitive or unwanted data from JSON files while preserving the original structure and keys.
-
Please make sure that you have Python installed on your computer.
-
Clone the repository by running the following command:
git clone https://github.com/Gexi0619/JsonValueRemover.git
Run the script using the following command:
python JsonValueRemover.py <input_file_path> [output_file_path]
<input_file_path>
: Required. The path to the input JSON file that you want to process.[output_file_path]
: Optional. The path to the output JSON file. If not provided, the output file will be generated with the name<input_file_name>_valueless.json
at the same location as the input file.
This script is licensed under the MIT License.