Skip to content

Fix JSON::Coder to call as_json proc for NaN and Infinity#746

Merged
byroot merged 1 commit intoruby:masterfrom
etiennebarrie:fix-json-coder-NaN-Infinity
Feb 5, 2025
Merged

Fix JSON::Coder to call as_json proc for NaN and Infinity#746
byroot merged 1 commit intoruby:masterfrom
etiennebarrie:fix-json-coder-NaN-Infinity

Conversation

@etiennebarrie
Copy link
Contributor

Needs tests

@etiennebarrie etiennebarrie force-pushed the fix-json-coder-NaN-Infinity branch from 4533cef to 4060aa9 Compare February 5, 2025 11:40
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
@byroot byroot force-pushed the fix-json-coder-NaN-Infinity branch from 4060aa9 to 91d061d Compare February 5, 2025 13:48
@byroot byroot marked this pull request as ready for review February 5, 2025 13:57
@byroot
Copy link
Member

byroot commented Feb 5, 2025

I added the tests.

@byroot byroot merged commit b5d887d into ruby:master Feb 5, 2025
33 checks passed
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