๐Ÿง  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.