Skip to content
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

Fix a compatibility issue with MultiJson.dump(obj, pretty: true) #749

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

byroot
Copy link
Member

@byroot byroot commented Feb 10, 2025

Fix: #748

MultiJson pass State#to_h as options, and the as_json property defaults to false but false wasn't accepted by the constructor.

Fix: ruby#748

`MultiJson` pass `State#to_h` as options, and the `as_json`
property defaults to `false` but `false` wasn't accepted by
the constructor.
@byroot byroot merged commit 83b19af into ruby:master Feb 10, 2025
33 checks passed
@byroot byroot deleted the fix-state-roundtrip branch February 10, 2025 20:21
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.

Regression in 2.10.0: no implicit conversion of false into Proc (TypeError)
1 participant