JSON可视化

Jsoncrackcom

by bytesagain

✨ practical and open-source visualization application that transforms various data formats, such as json-visualizer, typescript, csv, diagrams, graph, json.

4.5k数据与存储未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain/json-visualizer

文档

Json Visualizer

A command-line devtools toolkit for working with JSON data. Check, validate, generate, format, lint, explain, convert, diff, preview, fix, and report on JSON structures — all from your terminal with persistent logging and history tracking.

Why Json Visualizer?

  • Works entirely offline — your data never leaves your machine
  • No external dependencies or accounts needed
  • Every action is timestamped and logged for full auditability
  • Export your history to JSON, CSV, or plain text anytime
  • Simple CLI interface with consistent command patterns

Commands

CommandDescription
json-visualizer check <input>Check JSON data for issues; view recent checks without args
json-visualizer validate <input>Validate JSON structure and syntax
json-visualizer generate <input>Generate JSON from a description or template
json-visualizer format <input>Format and prettify JSON data
json-visualizer lint <input>Lint JSON for style and structural issues
json-visualizer explain <input>Explain JSON structure in human-readable form
json-visualizer convert <input>Convert JSON to/from other formats
json-visualizer template <input>Create or apply JSON templates
json-visualizer diff <input>Diff two JSON structures to find changes
json-visualizer preview <input>Preview JSON rendering or output
json-visualizer fix <input>Auto-fix common JSON issues
json-visualizer report <input>Generate a report from JSON data
json-visualizer statsShow summary statistics across all actions
json-visualizer export <fmt>Export all logs (formats: json, csv, txt)
json-visualizer search <term>Search across all log entries
json-visualizer recentShow the 20 most recent activity entries
json-visualizer statusHealth check — version, disk usage, entry count
json-visualizer helpShow help with all available commands
json-visualizer versionPrint current version (v2.0.0)

Each data command (check, validate, generate, etc.) works in two modes:

  • With arguments — logs the input with a timestamp and saves to its dedicated log file
  • Without arguments — displays the 20 most recent entries from that command's log

Data Storage

All data is stored locally in ~/.local/share/json-visualizer/. The directory structure:

  • check.log, validate.log, generate.log, etc. — per-command log files
  • history.log — unified activity log across all commands
  • export.json, export.csv, export.txt — generated export files

Set the DATA_DIR environment variable in the script to change the storage location.

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • Standard Unix tools: date, wc, du, tail, grep, sed, cat
  • No external packages or network access required

When to Use

  1. Validating API responses — pipe JSON output through json-visualizer validate to quickly verify structure before processing
  2. Formatting messy JSON — use json-visualizer format to prettify minified or poorly-indented JSON files for code review
  3. Comparing JSON configs — run json-visualizer diff to track changes between configuration versions across deployments
  4. Generating boilerplate — use json-visualizer generate and json-visualizer template to scaffold JSON structures for new projects
  5. Auditing JSON workflows — use json-visualizer stats, json-visualizer recent, and json-visualizer export to review your JSON processing history

Examples

bash
# Check a JSON string for issues
json-visualizer check '{"name": "test", "value": 42}'

# Validate a JSON file's structure
json-visualizer validate @config.json

# Format minified JSON for readability
json-visualizer format '{"a":1,"b":2,"c":[3,4,5]}'

# Lint JSON for style problems
json-visualizer lint '{"Name":"test"}'

# View statistics across all commands
json-visualizer stats

# Export all history as CSV
json-visualizer export csv

# Search for a specific term in all logs
json-visualizer search "config"

# View recent activity
json-visualizer recent

# Health check
json-visualizer status

Output

All commands output structured text to stdout. You can redirect output to a file:

bash
json-visualizer report mydata > report.txt
json-visualizer export json

Configuration

The data directory defaults to ~/.local/share/json-visualizer/. Modify the DATA_DIR variable at the top of script.sh to change the storage path.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

相关 Skills

技术栈评估

by alirezarezvani

Universal
热门

对比框架、数据库和云服务,结合 5 年 TCO、安全风险、生态活力与迁移复杂度做量化评估,适合技术选型、栈升级和替换路线决策。

帮你系统比较技术栈优劣,不只看功能,还把TCO、安全性和生态健康度一起量化,选型和迁移决策更稳。

数据与存储
未扫描15.8k

资深数据科学家

by alirezarezvani

Universal
热门

覆盖实验设计、特征工程、预测建模、因果推断与模型评估,适合用 Python/R/SQL 做 A/B 测试、时序分析和生产级 ML 落地,支撑数据驱动决策。

从 A/B 测试、因果分析到预测建模一条龙搞定,既有硬核统计方法也懂业务沟通,特别适合把数据结论真正落地。

数据与存储
未扫描15.8k

资深架构师

by alirezarezvani

Universal
热门

适合系统设计评审、ADR记录和扩展性规划,分析依赖与耦合,权衡单体或微服务、数据库与技术栈选型,并输出Mermaid、PlantUML、ASCII架构图。

搞系统设计、技术选型和扩展规划时,用它能更快理清架构决策与依赖关系,还能直接产出 Mermaid/PlantUML 图,方案讨论效率很高。

数据与存储
未扫描15.8k

相关 MCP 服务

SQLite 数据库

编辑精选

by Anthropic

热门

SQLite 是让 AI 直接查询本地数据库进行数据分析的 MCP 服务器。

这个服务器解决了 AI 无法直接访问 SQLite 数据库的问题,适合需要快速分析本地数据集的开发者。不过,作为参考实现,它可能缺乏生产级的安全特性,建议在受控环境中使用。

数据与存储
86.1k

by Anthropic

热门

PostgreSQL 是让 Claude 直接查询和管理你的数据库的 MCP 服务器。

这个服务器解决了开发者需要手动编写 SQL 查询的痛点,特别适合数据分析师或后端开发者快速探索数据库结构。不过,由于是参考实现,生产环境使用前务必评估安全风险,别指望它能处理复杂事务。

数据与存储
86.1k

by Firecrawl

热门

Firecrawl 是让 AI 直接抓取网页并提取结构化数据的 MCP 服务器。

它解决了手动写爬虫的麻烦,让 Claude 能直接访问动态网页内容。最适合需要实时数据的研究者或开发者,比如监控竞品价格或抓取新闻。但要注意,它依赖第三方 API,可能涉及隐私和成本问题。

数据与存储
6.4k

评论