0/
- GO工具包
- 修高性能sql拼接器/轻量级orm解决: update 和 delete 为空时也会解析字段 解决: update 和 delete 为空时也会解析字段
- proto验证器/高效验证器暂无
- 协程池暂无
- logger(丐版log)暂无
- 常用工具包暂无
- 日志实时分析暂无
- SQL处理
- 加/解密
GO在线工具集
--
--
公告:
⎯⎯ 把你的脸迎向阳光,那就不会有阴影
--
0 | | 0
说 明
yaml转json
功能介绍
1.在线yaml转json
2.说明: 由于转换过程中, yaml 树的子节点是用 map 保存, 因此在转 json 后, 得到的结果顺序是无序的
示例
apiVersion: v1
kind: Service
metadata:
name: test-k8s
spec:
selector:
app: test-k8s
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
处理后
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "test-k8s"
},
"spec": {
"ports": [
{
"port": 8080,
"targetPort": 8080
}
],
"selector": {
"app": "test-k8s"
},
"type": "ClusterIP"
}
}
©2022-2024 gotool.top (committed to improving work efficiency)