Project

General

Profile

Actions

Feature #11241

closed

Add #to_json for Sets

Added by mrlamroger (Roger Lam) almost 9 years ago. Updated almost 9 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) almost 9 years ago

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

Updated by marcandre (Marc-Andre Lafortune) almost 9 years ago

  • Assignee set to naruse (Yui NARUSE)

I think this would be a good addition.

Updated by hsbt (Hiroshi SHIBATA) almost 9 years ago

  • Status changed from Open to Third Party's Issue

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0