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

Let JsonElement implement Cloneable and Serializable #485

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 4 comments
Open

Let JsonElement implement Cloneable and Serializable #485

GoogleCodeExporter opened this issue Mar 19, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 19, 2015

the gson API is neither Serializable nor Cloneable. I'd imagine that both 
features should be relatively easy to implement...?

Original issue reported on code.google.com by lukas.eder@gmail.com on 8 Nov 2012 at 3:51

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 19, 2015

We have JsonElement.deepCopy() but it isn't yet public.

Original comment by limpbizkit on 4 Feb 2013 at 3:56

@AlejandroHCruz
Copy link

@AlejandroHCruz AlejandroHCruz commented Aug 30, 2016

Is Serializable still going to be implemented? 🎱

@mvysny
Copy link

@mvysny mvysny commented Oct 24, 2017

JsonElement.deepCopy() is public since 2.8.2; now for that Serialization.

mvysny added a commit to mvysny/gson that referenced this issue Oct 24, 2017
@mvysny
Copy link

@mvysny mvysny commented Oct 24, 2017

Pull request: #1178

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

No branches or pull requests

3 participants