स्किल्स पर वापस
expanso-json-flatten
aronchick द्वारा
CLI Utilities—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग
संक्षिप्त
Flatten nested JSON objects.
विवरण
यह स्किल क्या करती है
Flattens nested JSON objects into a single-level key-value structure. Runs as a CLI pipeline, an MCP server, or deploys to Expanso Cloud. Input is piped through the Expanso Edge runtime.
Avoids writing custom recursive flattening logic for arbitrarily nested JSON structures.
इसे कब इस्तेमाल करें
- Normalizing nested API responses before loading into a database
- Flattening config files to compare values across environments
- Preprocessing webhook payloads for spreadsheet export
- Simplifying nested log entries for log aggregation tools
- Converting deeply nested objects into flat CSV rows
उदाहरण वर्कफ़्लो
इनपुट
User asks: flatten this nested JSON object
एजेंट
- 1
Receives nested JSON as stdin
- 2
Pipes input to the expanso-edge runtime
- 3
Executes pipeline-cli.yaml to process the flattening
- 4
Returns a flat single-level JSON object
आउटपुट
A flat JSON object with dot-notation or underscore-separated keys representing the original hierarchy
आवश्यकताएँ
- Expanso Edge binary installed in PATH (install via `clawhub install expanso-edge`)
इंस्टॉलेशन
clawhub install aronchick/expanso-json-flattenCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।