Posted in 问题排查与答疑Go JSON序列化题目攻坚(omitempty/struct tag/自定义MarshalJSON),含CVE-2022-27191关联题 第一章:Go JSON序列化题目 … Go JSON序列化题目攻坚(omitempty/struct tag/自定义MarshalJSON),含CVE-2022-27191关联题Read more by 分布式日记|2026年2月23日|omitempty标签, Go语言JSON序列化, tags错误, 自定义MarshalJSON方法, CVE-2022-27191, struct指针零值
Posted in 问题排查与答疑JSON序列化时数字变字符串?Go结构体标签+自定义Marshaler终极解决方案(含benchmark对比) 第一章:JSON序列化时数字变字 … JSON序列化时数字变字符串?Go结构体标签+自定义Marshaler终极解决方案(含benchmark对比)Read more by Gopher的成长日记|2026年2月21日|Gin结构体标签, 自定义MarshalJSON方法, gjson性能优化, 数字转字符串问题, Go语言JSON序列化
Posted in Go语言基础和工具链Go map转JSON字符串的7种场景全覆盖(含struct tag控制、自定义Marshaler、流式输出) 第一章:Go map转JSON字 … Go map转JSON字符串的7种场景全覆盖(含struct tag控制、自定义Marshaler、流式输出)Read more by 云上码农|2026年1月27日|JSON序列化效率, Go动态加载, Map转JSON崩溃, Go语言struct嵌套map, 自定义MarshalJSON方法, tag控制JSON, 流式JSON输出
Posted in Go语言基础和工具链Go map[string]struct{}转JSON失败?别再盲目加json:”,omitempty”!3种tag组合策略+2个自定义Marshaler模板 第一章:Go map[strin … Go map[string]struct{}转JSON失败?别再盲目加json:”,omitempty”!3种tag组合策略+2个自定义Marshaler模板Read more by 性能优化专家|2026年1月27日|自定义MarshalJSON方法, Map线程安全, strings.Fields, JSON格式解析, Go动态加载, Go语言struct嵌套map, map结构体JSON序列化, json标签技巧, omitempty使用误区