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

implements the Marshaler interface(encoding/json) #119

Closed
wants to merge 1 commit into from

Conversation

sunands
Copy link

@sunands sunands commented Aug 28, 2019

When json.Marshal() wich is in the package "encoding/json" is called to serialize the hashset.Set type object, it will be automatically serialized, If hashset.Set implements the Marshal interface

below is the link to the document of "encoding/json"
https://golang.org/pkg/encoding/json/

@emirpasic
Copy link
Owner

i think there is a way to implement this easily and apply for all data structure... let me check on that and extend on your work

@emirpasic
Copy link
Owner

Implemented on all data structures in #192

@emirpasic emirpasic closed this Apr 12, 2022
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.

2 participants