Project

General

Profile

Feature #11241

Add #to_json for Sets

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

Status:
Third Party's Issue
Priority:
Normal
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 4 years ago

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

Updated by marcandre (Marc-Andre Lafortune) over 4 years ago

  • Assignee set to naruse (Yui NARUSE)

I think this would be a good addition.

Updated by hsbt (Hiroshi SHIBATA) over 4 years ago

  • Status changed from Open to Third Party's Issue

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

Also available in: Atom PDF