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

Add support for response body decoders, including standard json and json protobuf #47

Closed
wants to merge 1 commit into from

Conversation

codyaray
Copy link

@codyaray codyaray commented May 7, 2018

Added a Decoder interface, default to JSON from encoding/json.

Included a Protobuf JSON decoder using the gogo/protobuf/jsonpb marshaller as the first alternative.

@dghubble
Copy link
Owner

I'd rather see this just attempt to introduce the interface. Not add a protobuf implementation / tests. I don't necessarily want to maintain those.

@codyaray
Copy link
Author

Feel free to remove the protobuf impl / tests then. I'm just using my fork for now.

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