Skip to content

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

Merged
byroot merged 1 commit intoruby:masterfrom
byroot:fix-state-roundtrip
Feb 10, 2025
Merged

Fix a compatibility issue with MultiJson.dump(obj, pretty: true)#749
byroot merged 1 commit intoruby:masterfrom
byroot:fix-state-roundtrip

Conversation

@byroot
Copy link
Copy Markdown
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
@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