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

Are structs containing functions serializable? #30

Open
mvccogo opened this issue Dec 26, 2023 · 0 comments
Open

Are structs containing functions serializable? #30

mvccogo opened this issue Dec 26, 2023 · 0 comments

Comments

@mvccogo
Copy link

mvccogo commented Dec 26, 2023

Thank you for the library! Question: is it guaranteed that, when feeding a given struct with functions, only the member variables will be serialized? If so, does the function declaration position matter?

Use case: a verify() function throwing a boolean after some sanity checks in the struct data.

@p-ranav

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

1 participant