๐ง JSON AI Inspector
๐ GitHub Repo โข ๐ Live App
A free and open-source Streamlit application that brings JSON understanding to the next level โ powered by Groq AI.
Whether you're working with complex APIs, debugging nested objects, or generating mock data, json-ai-inspector
is your AI companion.
โ๏ธ Features
1. JSON Formatting
- Pretty-printed JSON with syntax highlighting
- Export as CSV (Excel-ready)
- Auto-generate type definitions for:
- Python
- Go
- TypeScript
2. AI Analysis (Groq Powered)
- Ask natural language questions about your JSON
- Receive contextual answers from the model
- Understand deeply nested structures in seconds
3. JSON Comparison Tool
- Drop in two JSONs and see a side-by-side difference
- Visual diffs for changed/added/removed nodes
- Export a full comparison report
4. Mock Data Generator
- Generate realistic JSON mock data
- Supports types like
string
,int
,boolean
,email
,url
,objectId
, etc. - Array/type inference included
- Export datasets for testing and seeding
๐งฉ Other Features
- ๐ English and Spanish language support
- ๐ Dark/Light Mode
- ๐พ History of generated or analyzed data
- ๐ง Stateless with session memory
๐ Quick Start
1. Clone the repository
git clone https://github.com/json-ai-tools/json-ai-inspector.git
cd json-ai-inspector
2. Install dependencies
pip install -r requirements.txt
3. (Optional) Add your Groq API key
echo "GROQ_API_KEY=your-key-here" > .env
4. Run the app
streamlit run app.py
๐ Use Cases
- Testing API responses and generating test data
- Auto-generating type definitions for contracts
- Validating JSON input/output in development pipelines
- Quickly interpreting large or deeply nested structures
๐ก Why This Tool?
Unlike simple formatters or linters, JSON AI Inspector leverages AI to actually reason about the data you're inspecting. Ask:
- "What are the main fields in this object?"
- "Which values are optional?"
- "Is this data consistent across nodes?"
And more. Itโs like having a JSON-savvy assistant at your side.
๐ค Contribute
This tool is still evolving. Contributions, feedback, and ideas are always welcome. Feel free to:
- โญ Star the project on GitHub
- ๐ Open an issue or suggestion
- ๐ง Submit a PR
Made with โค๏ธ by the community. Visit CodeIA.cl for more AI-powered tools.