dsh-json-flatten
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-json-flatten
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-json-flatten in DeepSeek Harness to install the plugin; the source repository is https://github.com/uckkk/dsh-json-flatten
About this plugin
Drilling through multi-level nested JSON to reach a single leaf value is tedious and error-prone, especially when you need to reference fields by a flat string key or hand structured data off to a downstream tool. dsh-json-flatten exists to remove that friction.
It ships a single tool called flatten_json that converts bidirectionally between nested JSON and dot-notation flat keys: object levels are joined with a dot, and array elements are tagged with [index]. The entire implementation is pure Node.js with no native dependencies, keeping the footprint light and the integration into a dsh session straightforward.
If you are parsing API responses, flattening multi-layer config files, or simply want to spread out a JSON blob and reassemble it later within your dsh workflow, this plugin does exactly that job with one tool and one call.
Use Cases
- Flattening deeply nested API responses into dot-notation key-value pairs
- Referencing nested config fields by dot-path without drilling manually
- Spreading out and reassembling JSON blobs inside dsh workflows with one call
- Eliminating layer-by-layer value extraction in automation scripts
Best For
- Front-end and back-end developers who deal with multi-level nested JSON daily
- Automation engineers who need bidirectional JSON format conversion in dsh sessions
- Technicians who prefer lightweight, dependency-free pure Node.js tools
- ETL and data-pipeline developers who want a clean one-step JSON flattening utility
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.