An open API service indexing awesome lists of open source software.

https://github.com/gbowne1/json-maestro

JSONMaestro is a powerful tool designed for cleaning and processing JSON-like files. It simplifies tasks such as removing comments, eliminating duplicate keys, adding schema keys, and sorting keys. Ideal for developers working with configuration files and API responses, JSONMaestro enhances data integrity and prepares JSON data for further analysis
https://github.com/gbowne1/json-maestro

json json-parser pylance pytest python3

Last synced: about 1 year ago
JSON representation

JSONMaestro is a powerful tool designed for cleaning and processing JSON-like files. It simplifies tasks such as removing comments, eliminating duplicate keys, adding schema keys, and sorting keys. Ideal for developers working with configuration files and API responses, JSONMaestro enhances data integrity and prepares JSON data for further analysis

Awesome Lists containing this project

README

          

# JSONMaestro

![Python](https://img.shields.io/badge/Python-3.7%2B-blue?style=for-the-badge&logo=python)
![Pylance](https://img.shields.io/badge/Pylance-Enabled-brightgreen?style=for-the-badge&logo=visual-studio-code)
![Pytest](https://img.shields.io/badge/Pytest-Passing-success?style=for-the-badge&logo=pytest)
![License](https://img.shields.io/github/license/gbowne1/json-maestro?style=for-the-badge)
![Version](https://img.shields.io/pypi/v/jsonmaestro?style=for-the-badge)

JSONMaestro is a powerful Python tool designed to clean, process, and optimize JSON-like files. It handles various operations such as removing comments, eliminating duplicates, adding schema keys, and sorting keys. This utility is particularly useful for developers working with configuration files, API responses, or any JSON-structured data that needs refinement.

Key features:

- Supports JSON, JSONC, and VSCode settings.json files
- Removes duplicate keys and comments
- Adds schema keys for improved structure
- Offers flexible key sorting options
- Preserves data integrity while cleaning

JSONMaestro streamlines the process of preparing JSON data for further analysis or integration, making it an essential tool for data preprocessing and configuration management tasks.

## Getting Started

### From Source

1. Clone the repository

```bash
git clone https://github.com/gbowne1/json-maestro.git # via https
git clone git@github.com:gbowne1/json-maestro.git # via ssh
```

2. navigate to the cloned repository

```bash
cd /path/to/cloned/json-maestro
```

3. install requirements

```bash
pip install -r requirements.txt
pip install -r dev.requirements
pip install --upgrade build
```

4. build json maestro

```bash
python3 -m build
```

5. install json maestro using your prefered method (NOTE: both are shown here, either one should work)

```bash
pip install .

```
## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)

If you would like to work on issues and new features, we welcome your issues and Pull Requests.

## License

MIT

[See the License](./LICENSE)