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

Marshal and Unmarshal for structs #43

Merged
merged 47 commits into from
Jul 23, 2022
Merged

Marshal and Unmarshal for structs #43

merged 47 commits into from
Jul 23, 2022

Conversation

trobro
Copy link
Member

@trobro trobro commented Jul 10, 2022

Uses json.Marshal() and json.Unmarshal() for intermediates to handle structs and Marshaler/Unmarshaler interfaces.

Now ignores comment tags on struct fields. Might need more investigation of consequences.

Edit: the comment tags on struct fields are back in.

Fixes #29
Fixes #31
Fixes #34

@trobro
Copy link
Member Author

trobro commented Jul 10, 2022

Base automatically changed from cr2lf to master July 23, 2022 17:11
@trobro trobro force-pushed the respect_privacy branch from ede8ea1 to 1e35607 Compare July 23, 2022 17:15
@trobro trobro merged commit ea903d2 into master Jul 23, 2022
@trobro trobro deleted the respect_privacy branch July 23, 2022 17:18
This was referenced Jul 23, 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
1 participant