[ruby-core:69519] [Ruby trunk - Feature #11241] Add #to_json for Sets

From: ruby-core@...
Date: 2015-06-10 17:08:40 UTC
List: ruby-core #69519
Issue #11241 has been updated by Marc-Andre Lafortune.

Assignee set to Yui NARUSE

I think this would be a good addition.

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

* Author: Roger Lam
* Status: Open
* 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/

In This Thread

Prev Next