कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

json-toolkit

claudiodrusus द्वारा

PDF & Documents
361clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Swiss-army knife for JSON files.

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

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

एजेंट
  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

आउटपुट

"alice@example.com"

इंस्टॉलेशन

clawhub install claudiodrusus/json-toolkit

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक