Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON::Any#dup and YAML::Any#dup #6251

Closed

Conversation

asterite
Copy link
Member

Fixes #6220

@Sija
Copy link
Contributor

Sija commented Jun 23, 2018

Let's add #clone too perhaps?

@asterite
Copy link
Member Author

Oh, I thought that was defined on struct. I'll do it in a few days

@asterite
Copy link
Member Author

Discussion right now on gitter, people wondering why there's [] but not each... I think it's time to remove all methods from json any, and just let it be a thin wrapper. Want to work with it? Fetch the raw value and cast it. No more confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants