Project

General

Profile

Actions

Feature #11241

closed

Add #to_json for Sets

Feature #11241: Add #to_json for Sets

Added by mrlamroger (Roger Lam) over 10 years ago. Updated over 10 years ago.

Status:
Third Party's Issue
Target version:
-
[ruby-core:69508]

Description

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.

Updated by mrlamroger (Roger Lam) over 10 years ago Actions #1 [ruby-core:69509]

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

Updated by marcandre (Marc-Andre Lafortune) over 10 years ago Actions #2 [ruby-core:69519]

  • Assignee set to naruse (Yui NARUSE)

I think this would be a good addition.

Updated by hsbt (Hiroshi SHIBATA) over 10 years ago Actions #3 [ruby-core:69520]

  • Status changed from Open to Third Party's Issue

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

Actions

Also available in: PDF Atom