Thoughts on migrating to `encoding/json/v2`?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 22/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go
- 领域
- networking
调研方向
The question concerns the wsjson subpackage, which wraps encoding/json for reading and writing JSON messages over a connection. Start by reading its source and tests to see how it calls the standard encoder and decoder, then check whether encoding/json/v2 is still experimental in the Go version the project supports. This is a design decision for the maintainers, not a code change: done means a decision on whether to migrate in place or add a v2 subpackage, and only then a patch.
由索引模型根据 Issue 内容生成。
描述
Any thoughts about migrating wsjson to https://pkg.go.dev/encoding/json/v2?
Or maybe creating a v2 folder within wsjson? I'm happy to open a PR for this if you think it's worthwhile.
- 主要语言
- Go
- 星标
- 5.5k
- 派生
- 379
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/websocket 的其他 Issue
-
Must not wrap io.EOF可能已有人在做 @Yanhu007 于 188 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
export wstest未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
Read returns a truncated fragmented message as complete when the connection closes mid-message可能已有人在做 @Grivn 于 2 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 62/100
-
wasm: Close with codes other than 1000 throws, so CloseNow never closes可能已有人在做 @0pcom 于 14 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 20/100
相似的 Issue
-
[Bug]: message-level cache_control on chat messages is dropped, so Anthropic prompt caching never triggers可能已有人在做 @Atharva-Kanherkar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 90/100
eugenioenko/ttt#1000 ·
维护者通常 1 天内回复
-
bug needs-acceptance wg/developer-experience-ecosystem
难度 2/5 1-3 小时 新手友好度 82/100
vllm-project/semantic-router#5249 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
Billionmail/BillionMail#389 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 62/100
DaoCloud/DaoCloud-docs#7489 ·
维护者通常 1 天内回复