Scripts2026年5月23日·1 分钟阅读

JSON Crack — Interactive JSON, YAML, XML and CSV Visualizer

Transform structured data formats into interactive, explorable graph visualizations. Supports JSON, YAML, XML, CSV and TOML with search, filtering and export capabilities.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
JSON Crack Overview
通用 CLI 安装命令
npx tokrepo install 94095fe5-563d-11f1-9bc6-00163e2b0d79

Introduction

JSON Crack converts structured data into interactive graph visualizations that make complex nested structures easy to understand. Instead of reading raw text, you see nodes and edges that represent keys, values, and relationships. It is particularly useful for debugging APIs, exploring config files, and understanding unfamiliar data schemas.

What JSON Crack Does

  • Parses JSON, YAML, XML, CSV, and TOML into a visual node graph
  • Provides search and filtering to locate specific keys or values in large documents
  • Supports collapsing and expanding nested nodes for focused exploration
  • Exports visualizations as PNG or SVG images for documentation
  • Offers a self-hostable web app and an embeddable widget for other applications

Architecture Overview

JSON Crack is a Next.js application built with React and TypeScript. The core parsing engine converts structured data into a tree model, which is then rendered as an interactive graph using a custom canvas-based renderer. The layout algorithm arranges nodes hierarchically to minimize edge crossings. Data transformations happen entirely client-side, so no data leaves the browser.

Self-Hosting & Configuration

  • Deploy with Docker: docker run -p 8080:8080 aykutsarac/jsoncrack.com
  • Or build from source with Node.js 18+ and npm
  • Configure the app port and base path via environment variables
  • No external database or backend service required
  • Embed the editor widget in other apps using the published npm package

Key Features

  • Supports five data formats: JSON, YAML, XML, CSV, TOML
  • Client-side processing keeps sensitive data private
  • Interactive graph with zoom, pan, collapse, and search
  • JSON Schema validation and error highlighting
  • Dark and light theme support with customizable node colors

Comparison with Similar Tools

  • JSON Editor Online — form-based editor; JSON Crack focuses on graph visualization
  • JSON Viewer browser extensions — limited to JSON only; JSON Crack handles five formats
  • D3-based custom solutions — require coding; JSON Crack is ready to use out of the box
  • jq — CLI-focused text processing; JSON Crack provides a visual, interactive experience

FAQ

Q: Does my data get sent to any server? A: No. All parsing and rendering happens in the browser. Your data never leaves your machine.

Q: Can I embed JSON Crack in my own application? A: Yes. The project publishes an embeddable React widget via npm that you can integrate into any web app.

Q: What is the maximum file size it can handle? A: Performance depends on browser memory. Documents up to a few megabytes render well; very large files may need the collapse feature to stay responsive.

Q: Is there a VS Code extension? A: Yes. JSON Crack offers a VS Code extension that lets you visualize JSON files directly inside the editor.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产