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

Deal with proto_oneof in JSON Unmarshal #27

Closed
michielbdejong opened this issue Sep 21, 2021 · 1 comment
Closed

Deal with proto_oneof in JSON Unmarshal #27

michielbdejong opened this issue Sep 21, 2021 · 1 comment
Assignees

Comments

@michielbdejong
Copy link
Member

It should be possible (https://stackoverflow.com/a/61728103/680454, golang/protobuf#446) to unmarshal proto_oneof fields using the jsonpb package, but it seems this package is deprecated.

Using maps as intermediary for now.

michielbdejong added a commit to michielbdejong/reva that referenced this issue Sep 21, 2021
@michielbdejong michielbdejong self-assigned this Nov 11, 2021
@michielbdejong
Copy link
Member Author

Ah maybe these functions can resolve this!

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

No branches or pull requests

1 participant