Migrate from ujson to orjson
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating where ujson is imported and used in the Lambda layer, then compare those call sites with orjson's documented behavior. The migration is done when the project no longer depends on ujson, uses orjson in its existing serialization paths, and the relevant tests or checks still pass.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 102
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/datadog-lambda-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DataDog/datadog-lambda-python#758 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataDog/datadog-lambda-python#755 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
DataDog/datadog-lambda-python#688 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/datadog-lambda-python#682 · 1 comment ·
-
DataDog/datadog-lambda-python#633 · 2 comments · 1 assignee ·
All issues in DataDog/datadog-lambda-python
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·