Skip to content

SEP-51: XDR-JSON Specification #1699

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
merged 28 commits into from
Apr 28, 2025
Merged

SEP-51: XDR-JSON Specification #1699

merged 28 commits into from
Apr 28, 2025

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Apr 10, 2025

No description provided.

@leighmcculloch leighmcculloch changed the title WIP: XDR-JSON Specification SEP-????: XDR-JSON Specification Apr 16, 2025
@leighmcculloch leighmcculloch marked this pull request as ready for review April 16, 2025 05:34
Comment on lines 138 to 141
_Note: JavaScript runtime implementations of JSON do not support numbers that
require more than 53-bits. JavaScript applications should use a JSON decoder
supporting 64-bit numbers in JSON numbrs. JSON decoders in other languages do
not typically have this constraint and support numbers up to 64-bits._
Copy link
Contributor

@Shaptic Shaptic Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit: Moving to discussion, my bad

Copy link
Member Author

@leighmcculloch leighmcculloch Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's why we have this open issue to change it, and also change the presentation of the 128 and 256 bit integer types too:

This PR captures the existing XDR-JSON format which has this wart unfortunately.

Fwiw while that issue has been open for a while, I think we'll prioritise it this year.

@leighmcculloch leighmcculloch changed the title SEP-????: XDR-JSON Specification SEP-51: XDR-JSON Specification Apr 28, 2025
@leighmcculloch leighmcculloch enabled auto-merge (squash) April 28, 2025 00:45
@leighmcculloch leighmcculloch merged commit 1523e6c into master Apr 28, 2025
3 checks passed
@leighmcculloch leighmcculloch deleted the xdrjson branch April 28, 2025 01:32
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.

3 participants