Skip to content

About

JSON Hero .NET is an open-source, high-performance evolution of the beautiful JSON explorer. Re-engineered in .NET based on the brilliant design by Trigger.dev, this independent branch navigates massive files at blazing speed. 🚀

Resources

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

jsonhero.net

English | 简体中文

jsonhero.net is an independently maintained fork of triggerdotdev/jsonhero-web, the original JSON Hero project.

This fork has diverged from the upstream project and now uses an ASP.NET Core 8 API with a Vite React frontend. It is maintained from the misaya/jsonhero.net repository and is not affiliated with, sponsored by, or endorsed by Trigger.dev, Stack Hero, or the original JSON Hero maintainers.

The maintainer has registered and operates the jsonhero.net domain for this independent project. The domain is used for this project's web presence and does not imply affiliation with the original JSON Hero team.

Features

  • Browse JSON with column, tree, editor, and terminal-style views.
  • Infer string content and show useful previews for URLs, dates, colors, images, and other common values.
  • Generate an inferred JSON Schema for the loaded document.
  • Search JSON keys, paths, values, and formatted values.
  • Compare related values across a document.
  • Share documents through local service URLs.

Project Status

The project started as a fork of triggerdotdev/jsonhero-web and has since been substantially modified. The most visible changes are:

  • The backend is now an ASP.NET Core 8 API.
  • The frontend is now a Vite React SPA under src/JsonHero.Web.
  • The original Remix and Cloudflare Workers runtime has been removed.
  • Docker, development, and test workflows target the new .NET + Vite stack.

Some internal namespaces, dependency names, and compatibility identifiers still contain JsonHero because a full source-level rename is a separate engineering change.

Getting Started

Install frontend dependencies:

cd src/JsonHero.Web
npm install

Restore .NET packages from the repository root:

dotnet restore src/JsonHero.Api.Tests/JsonHero.Api.Tests.csproj

Start the API:

dotnet run --project src/JsonHero.Api

Start Vite in another terminal:

cd src/JsonHero.Web
npm run dev

Open the Vite URL shown in the terminal. Vite proxies /api, /actions, and /j/*.json requests to the ASP.NET Core API on http://localhost:5299.

API

Create a document by sending JSON to the local service:

curl -X POST http://localhost:5299/api/create.json \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Example",
    "json": "{ \"foo\": \"bar\" }",
    "readOnly": false,
    "ttl": "2026-07-10T00:00:00Z"
  }'

The response includes the document id and local document path:

{
  "id": "YKKduNySH7Ub",
  "title": "Example",
  "jsonUrl": "/j/YKKduNySH7Ub.json"
}

Create a document from an external URL:

curl -X POST http://localhost:5299/api/create.json \
  -H "Content-Type: application/json" \
  -d '{
    "title": "From URL",
    "url": "https://jsonplaceholder.typicode.com/todos/1"
  }'

You can also use GET with query parameters:

# Create from a URL
curl "http://localhost:5299/api/create.json?url=https://jsonplaceholder.typicode.com/todos/1&title=From%20GET"

# Create from JSON (j parameter)
curl "http://localhost:5299/api/create.json?j=%7B%22hello%22%3A%22world%22%7D&title=Hello"

Development

Run the backend tests:

dotnet test src/JsonHero.Api.Tests/JsonHero.Api.Tests.csproj

Run the frontend tests:

cd src/JsonHero.Web
npm test

See DEVELOPMENT.md for the full local development guide.

Issues and Contributions

Please open issues and pull requests in the current repository: misaya/jsonhero.net.

See CONTRIBUTING.md before contributing.

License and Attribution

The source code is distributed under the Apache License, Version 2.0. See LICENSE.

This repository includes software derived from the original JSON Hero project. See NOTICE for attribution, modification notes, project-name context, and non-affiliation wording.

Project Name and Attribution

Upstream project names, logos, domains, and product references are acknowledged only for attribution and historical context.

JSON Hero is the name of the original open-source project. This website (JsonHero.net) is an independent open-source evolution re-engineered in .NET. It is not officially affiliated with or endorsed by the original team. We deeply respect and salute their open-source spirit.

About

JSON Hero .NET is an open-source, high-performance evolution of the beautiful JSON explorer. Re-engineered in .NET based on the brilliant design by Trigger.dev, this independent branch navigates massive files at blazing speed. 🚀

Resources

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages