Skip to content

Conversation

@rgoldberg
Copy link
Contributor

@rgoldberg rgoldberg commented Oct 21, 2025

Conform floating points to JSONEncodable.

Resolve #91

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg
Copy link
Contributor Author

@tayloraswift Need I make any changes to get this PR approved? Thanks.

@tayloraswift
Copy link
Owner

i am concerned about adding a type that is Encode-only, and cannot be losslessly roundtripped

@rgoldberg
Copy link
Contributor Author

rgoldberg commented Nov 7, 2025

If I also conformed floating points to JSONDecodable, would you accept it?

Or would the limitations of acceptable values for Swift floating points prevent you from accepting it?

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.

Conform floating points to JSONEncodable.

2 participants