json
摘要:Golang - 处理json 1. 编码json 使用json.Marshal()函数可以对一组数据进行JSON格式的编码 func Marshal(v interface{}) ([]byte, error) 通过结构体生成json,结构体属性字段名首字母要大写 package main imp
阅读全文
posted @ 2024-04-30 10:42
posted @ 2024-04-30 10:42
posted @ 2024-04-30 10:42
posted @ 2024-04-30 10:41
posted @ 2024-04-30 10:36