Posted in Web开发实战Go Web API时间字段校验失效?用Custom UnmarshalJSON+Strict Layout Parser拦截99.7%非法时间输入(开源组件已交付) 第一章:Go Web API时间 … Go Web API时间字段校验失效?用Custom UnmarshalJSON+Strict Layout Parser拦截99.7%非法时间输入(开源组件已交付)Read more by 程序员老李|2026年3月20日|手写WebSocket, Golang调用系统API, -strict, 开源组件清单, UnmarshalJSON代码生成, Parser崩溃, LayoutManager, 时间字段校验, Go动态加载
Posted in Go语言基础和工具链Go struct json tag误用导致比特币RPC响应字段丢失?json.RawMessage+UnmarshalJSON定制化解析实战 第一章:Go struct js … Go struct json tag误用导致比特币RPC响应字段丢失?json.RawMessage+UnmarshalJSON定制化解析实战Read more by 写代码的阿强|2026年3月6日|Go动态加载, tags错误, struct指针零值, UnmarshalJSON代码生成, JSON与YAML转换, json.RawMessage精度问题, 比特币RPC
Posted in 问题排查与答疑Go JSON序列化暗礁:omitempty误删关键字段、自定义MarshalJSON panic、time.Time时区丢失 第一章:Go JSON序列化暗礁 … Go JSON序列化暗礁:omitempty误删关键字段、自定义MarshalJSON panic、time.Time时区丢失Read more by Go语言实验室|2026年3月4日|JSON序列化效率, JSON编码陷阱, Go动态加载, time.Time时区问题, UnmarshalJSON代码生成, panic冲突, omitempty字段丢失
Posted in Go语言基础和工具链Go标准库命名规范背后的英语哲学:为什么是UnmarshalJSON而非DecodeJSON?(RFC 7159与Go语言设计契约深度对照) 第一章:Go标准库命名规范背后的 … Go标准库命名规范背后的英语哲学:为什么是UnmarshalJSON而非DecodeJSON?(RFC 7159与Go语言设计契约深度对照)Read more by Go语言狂热者|2026年2月16日|RFC3501, Go标准库命名规范, DecodeJSON, Go语言设计哲学, 7159合规性, UnmarshalJSON代码生成
Posted in Go语言基础和工具链Go json.Unmarshal性能断崖(struct tag解析开销占比68%):自动生成UnmarshalJSON方法的codegen工具链 第一章:Go json.Unma … Go json.Unmarshal性能断崖(struct tag解析开销占比68%):自动生成UnmarshalJSON方法的codegen工具链Read more by 架构思考者|2026年2月4日|Go动态加载, json.Unmarshal性能优化, struct指针零值, tag解析开销, UnmarshalJSON代码生成, JSON反序列化加速, codegen工具链