AI Agent Hub
Back to plugins
🧰

dsh-json-flatten

Web Tools Updated 2026.08.19

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