Migrate from ujson to orjson

未关闭
#666 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
backend, cloud

调研方向

首先定位 ujson 在 Lambda 层中被导入和使用的位置,然后将这些调用点与 orjson 的文档化行为进行比较。当项目不再依赖 ujson、在现有序列化路径中使用 orjson,并且相关测试或检查仍然通过时,迁移即完成。

由索引模型根据 Issue 内容生成。

描述

ujson is currently not supported, and is in maintenance mode

[!WARNING] UltraJSON's architecture is fundamentally ill-suited to making changes without risk of introducing new security vulnerabilities. As a result, this library has been put into a maintenance-only mode. Support for new Python versions will be added and critical bugs and security issues will still be fixed but all other changes will be rejected. Users are encouraged to migrate to orjson which is both much faster and less likely to introduce a surprise buffer overflow vulnerability in the future.
https://pypi.org/project/ujson/

'orjson' -> https://pypi.org/project/orjson/

hopefully it's a drop-in replacement

主要语言
Python
星标
102
派生
52
平均合并
5 天 19 小时
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DataDog/datadog-lambda-python 的其他 Issue

查看 DataDog/datadog-lambda-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。