2018年3月16日

摘要: func str2json(){ cmd := "['read': 2.0, 'write': 1.2}, {'read_mb': 4.0, 'write': 3.2}]" str := strings.Replace(string(cmd), "'", "\"", -1) str = strings.Replace(str, "\n", "", -1) ... 阅读全文
posted @ 2018-03-16 17:00 js.yeyong 阅读(1892) 评论(0) 推荐(0) 编辑

导航