Skip to content

Deprecate JSON::State#[] and JSON::State#[]=#892

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:deprecate-state-aref
Nov 7, 2025
Merged

Deprecate JSON::State#[] and JSON::State#[]=#892
byroot merged 1 commit into
ruby:masterfrom
byroot:deprecate-state-aref

Conversation

@byroot

@byroot byroot commented Nov 7, 2025

Copy link
Copy Markdown
Member

This prevent from freezing and sharing state instances.

If you needs some sort of arguments or extra state to the generator methods, consider using JSON::Coder instead.

This prevent from freezing and sharing state instances.

If you needs some sort of arguments or extra state to the generator
methods, consider using `JSON::Coder` instead.
@byroot byroot force-pushed the deprecate-state-aref branch from 5620c1d to afa97ed Compare November 7, 2025 08:58
@byroot byroot merged commit e9fbc89 into ruby:master Nov 7, 2025
37 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