Issue #11241 has been updated by Roger Lam.

Subject changed from Add to_json for Sets to Add #to_json for Sets

----------------------------------------
Feature #11241: Add #to_json for Sets
https://bugs.ruby-lang.org/issues/11241#change-52809

* Author: Roger Lam
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Looks like there are extensions for structs but not Sets. https://github.com/ruby/ruby/tree/trunk/ext/json/lib/json/add

Is there a reason Sets were omitted or was this just an oversight?
I can draft up a PR if this is a feature we want.



-- 
https://bugs.ruby-lang.org/