Skip to content

Reimplement to_json methods in Ruby#941

Merged
byroot merged 1 commit intoruby:masterfrom
byroot:ruby-to-json
Mar 5, 2026
Merged

Reimplement to_json methods in Ruby#941
byroot merged 1 commit intoruby:masterfrom
byroot:ruby-to-json

Conversation

@byroot
Copy link
Member

@byroot byroot commented Feb 20, 2026

Also need to cleanup JRuby & TruffleRuby implementations. For TruffleRuby it might be tricky because it currently rely on polymorphism a lot.

@byroot
Copy link
Member Author

byroot commented Mar 5, 2026

I rescoped the chang eto only do it for the MRI generator. The JRuby one could follow suit, but for the TruffleRuby one, it almost means an entire rewrite so not sure if it's worth it.

@byroot byroot merged commit 3f32c47 into ruby:master Mar 5, 2026
40 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.

1 participant