dshbase

Plugin directory / Developer / dsh-json-flatten

dsh-json-flatten

Verified · install-tested on dsh uckkk

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-19Last push
Cross-platformPlatform

What it does

@{name=dsh-json-flatten; version=0.1.0; description=JSON 扁平化:嵌套 JSON ↔ 点号扁平键互转(支持数组索引); type=module; main=./index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <[email protected]>; license=MIT; peerDependencies=}.description

✅
Our take
Works — verified, early-stage project

@{name=dsh-json-flatten; version=0.1.0; description=JSON 扁平化:嵌套 JSON ↔ 点号扁平键互转(支持数组索引); type=module; main=./index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <[email protected]>; license=MIT; peerDependencies=}.description It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-json-flatten · JSON 扁平化

嵌套 JSON ↔ 点号扁平键互转(数组用 [index])。纯 Node 实现。

提供的工具

工具 作用
flatten_json 嵌套 ↔ 扁平互转

安装

dsh plugin add dsh-json-flatten

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-json-flatten"。

用法示例

把这个嵌套 JSON 展平
→ 调用 flatten_json(data={a:{b:1,c:[2,3]}})

安装

dsh plugin add github:uckkk/dsh-json-flatten

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-json-flatten

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-json-flatten for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:uckkk/dsh-json-flatten

Headless (CLI) profile:

dsh plugin --profile headless add github:uckkk/dsh-json-flatten

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →