0

I want to connect an Android app to a Go web service (I have a small social network in mind) and would like to pass data to and from the web service using Protocol Buffers, since it recently seems to have native support in both Android and Golang.

Is this possible or even advisable? Or should I stick to JSON?

  • 1
    What advantages do Protocol Buffers provide? – Robert Harvey Apr 19 '15 at 13:53
  • As far as I know, speed and compactness. At the moment, it seems like a choice between JSON and Protocol Buffers, and if Google have seen fit to implement Protocol Buffers natively in Android then there must be some benefit to developers. – warsong Apr 19 '15 at 14:50
  • 1
    So the answer to your question is "do you need the speed and compactness?" – Robert Harvey Apr 19 '15 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.