About this project
JSON Hero is an open-source, web-based JSON viewer created and maintained by the Trigger.dev team. It provides a clean UI for reading and understanding JSON documents, offering multiple ways to view data: a macOS Finder-inspired Column View, a traditional Tree View, and an Editor View.
Key features include:
- Multiple view modes: Column View with keyboard navigation, path bar, and history; Tree View with collapsible sections; and Editor View with sidebar previews.
- Content previews: Automatically infers string contents and displays useful previews for dates/times, image URLs, website URLs, tweet URLs, JSON URLs, and colors.
- Search: Fuzzy search across the entire JSON file, covering key names, key paths, values, and formatted values.
- Related values: Scan all related values for a specific field across the document, including undefined or null values.
- Inferred JSON Schema: Generates an inferred JSON Schema that could be used for validation.
- Keyboard accessible navigation.
- Sharable URLs with path support.
Ways to send JSON to JSON Hero include drag-and-drop on jsonhero.io, pasting JSON or a URL, using a Base64 encoded string in the URL, a VS Code extension, a Raycast extension, or an unofficial POST API to jsonhero.io/api/create.json.
To run locally, clone the repository, run npm install, set a SESSION_SECRET environment variable, and run npm run dev or npm start, then open http://localhost:8787.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.