Issue #11241 has been updated by Hiroshi SHIBATA.

Status changed from Open to Third Party's Issue

Please report to upstream repository: https://github.com/flori/json

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

* Author: Roger Lam
* Status: Third Party's Issue
* Priority: Normal
* Assignee: Yui NARUSE
----------------------------------------
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/