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

From: mrlamroger@...
Date: 2015-06-09 20:10:48 UTC
List: ruby-core #69508
Issue #11241 has been reported by Roger Lam.

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

* 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/

In This Thread

Prev Next