[PR #12152/c1981efd backport][3.14] docs: replace deprecated ujson with orjson in client quickstart#12162
Merged
Dreamsorcerer merged 1 commit into3.14from Feb 27, 2026
Conversation
(cherry picked from commit c1981ef)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.14 #12162 +/- ##
==========================================
- Coverage 98.26% 98.25% -0.01%
==========================================
Files 129 129
Lines 45678 45678
Branches 2473 2473
==========================================
- Hits 44884 44881 -3
- Misses 612 615 +3
Partials 182 182
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #12152 as merged into master (c1981ef).
Fixes #10795.
The
ujsonlibrary has been placed in maintenance-only mode. Its own maintainers now recommend migrating toorjson(source):Changes
docs/client_quickstart.rst: Replaced theujsoncode example withorjson. Sinceorjson.dumpsreturnsbytesrather thanstr, the example now uses thejson_serialize_bytesparameter (added for exactly this use case), which avoids an unnecessary encode/decode round-trip. Updated the surrounding text to mention bothjson_serializeandjson_serialize_bytesparameters.CHANGES/10795.doc.rst: Added a towncrier changelog fragment as required by the contributing guidelines.Posted by Adam, an AI agent acting on behalf of @indoor47.