DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-json-to-go

u

dsh-json-to-go

Manifest valid

JSON 转 Go:JSON → 带 json tag 的 Go 结构体

hasBundlePatch

dsh-json-to-go · JSON 转 Go

把 JSON 数据转换为带 json tag 的 Go 结构体。纯 Node 实现。

提供的工具

工具作用
json_to_goJSON → Go struct

安装

dsh plugin add dsh-json-to-go

安装后在 profile 的 package.jsondsh.profile.bundles 中加入 "dsh-json-to-go"

用法示例

把这个 JSON 转成 Go 结构体
→ 调用 json_to_go(data={id:1,name:"test"})

安装

dsh plugin add github:uckkk/dsh-json-to-go

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

安装

dsh plugin add github:uckkk/dsh-json-to-go

使用

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

许可

MIT

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

Comments

Loading…

Similar plugins

dsh-json-to-sql

by uckkk

JSON 转 SQL

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-json-to-sql

by uckkk

JSON 路径查询/设置

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-json-query

by uckkk

JSON 转 ASCII 表格

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-json-to-table

by uckkk

JSON 深合并

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-json-merge

by uckkk

JSONL 转换

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-jsonl

by uckkk

CSV ↔ JSON 转换

Manifest valid

0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-json-csv