摘要: 1、Go语言的JSON 库 Go语言自带的JSON转换库为 encoding/json 1.1)其中把对象转换为JSON的方法(函数)为 json.Marshal(),其函数原型如下 func Marshal(v interface{}) ([]byte, error) 也就是说,这个函数接收任意类 阅读全文
posted @ 2016-07-05 10:37 赵客缦胡缨-Nicholas 阅读(345) 评论(0) 推荐(0) 编辑