会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lyh225
博客园
首页
新随笔
联系
管理
订阅
2019年5月2日
如何处理动态JSON in Go
摘要: 假如要设计一个统计的json解析模块,json格式为 代码 我们定义Msg类型为interface{},用来接受任意的类型。接下来试着解析msg中的字段 const input = ` { "type": "sound", "msg": { "description": "dynamite", "a
阅读全文
posted @ 2019-05-02 15:36 yihailin
阅读(1316)
评论(0)
推荐(0)
编辑
公告