Skip to content

[6.0] Int128 support in json #791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

stephentyrone
Copy link
Contributor

@stephentyrone stephentyrone commented Jul 26, 2024

Support for round-tripping [U]Int128 through our JSON encoder + decoder.

Clone of #767 for 6.0

This doesn't yet tackle _slowpath_unwrapFixedWidthInteger, but at least allows us to round-trip [U]Int128 with our own encoder and decoder
Also added some slow-path testing for [U]Int128, to ensure that we throw an error as expected in these cases instead of returning an incorrect value.
@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone stephentyrone requested a review from kperryua July 26, 2024 20:14
@stephentyrone stephentyrone merged commit 4d1dfb4 into swiftlang:release/6.0 Aug 1, 2024
3 checks passed
@stephentyrone stephentyrone deleted the int128-support-in-json-6.0 branch August 1, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants