*Questions:*

   1. Seems to me that Protocol Buffers are only meant as an alternative to 
   XML and not JSON. Am I correct?
   2. If yes, how do Protocol Buffers complement JSON or vice-versa?

*Background:*

I’m trying to learn Protocol Buffers. I see articles online one after 
another from other developers showing how Protocol Buffers are better than 
JSON (as well as XML) in certain situations (for example, in communication 
between backend services not involving the browser).

However, when you look at the “official documentation”, developers at 
Google only compare Protocol Buffers to XML, not JSON. In fact, in certain 
areas of Protocol Buffers, they provide additional support for JSON (
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#any
)

I’m confused. Am I looking at this all wrong?

*Effort:* I tried searching for an answer to this online but I couldn’t 
find any

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/6d71d06b-b033-4e06-b6a8-2209777ff92cn%40googlegroups.com.

Reply via email to