摘要: 假如要设计一个统计的json解析模块,json格式为 代码 我们定义Msg类型为interface{},用来接受任意的类型。接下来试着解析msg中的字段 const input = ` { "type": "sound", "msg": { "description": "dynamite", "a 阅读全文
posted @ 2019-05-02 15:36 yihailin 阅读(1316) 评论(0) 推荐(0) 编辑