İçeriğe geç
TakoAPI
Becerilere dön

json-toolkit

claudiodrusus tarafından

PDF & Documents
361İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Swiss-army knife for JSON files.

Açıklama

Bu Beceri Ne Yapar

A zero-dependency Python command-line tool for JSON manipulation. It pretty-prints, validates, minifies, queries nested values with dot notation, and sorts object keys using only Python's standard library.

No additional packages to install since it relies entirely on Python's standard library, so it works on any machine with Python without a setup step.

Ne Zaman Kullanılır

  • Formatting a raw API response to read during debugging
  • Checking a config file for JSON syntax errors before deployment
  • Extracting a specific nested field from a large JSON payload
  • Minifying a JSON file before bundling for production
  • Sorting package.json keys before committing to reduce diff noise

Örnek İş Akışı

GİRİŞ

User asks: get the email of the first user in users.json

AJAN
  1. 1

    Runs python main.py users.json --query data.users.0.email

  2. 2

    Reads and parses the JSON file

  3. 3

    Navigates the dot-notation path data.users.0.email

  4. 4

    Prints the matched value to stdout

ÇIKIŞ

"alice@example.com"

Kurulum

clawhub install claudiodrusus/json-toolkit

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar