--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
1. What happens when you need to read/write your messages in Java? You'd either need to rewrite all your classes or work with ugly generic JSON or XML parse trees.
1. What happens when you need to read/write your messages in Java? You'd either need to rewrite all your classes or work with ugly generic JSON or XML parse trees.2. Protobuf encoding and decoding is much, much faster than JSON or XML, and the encoded messages are much smaller, particularly for non-textual data (numbers, binary blobs, etc.).
But you've left out the 2nd point of Kenton's response about the speed
of serialization compared to json as well as the compactness of the
serialized objects. That was one reason we decided to go with
protobufs.
--
sheila
If the speed and size of JSON serialization is good enough for you,
stick with it.
> Although I haven't heard anybody experiencing problems with the
> performance of either direction in .NET with JSON or XML, the
> libraries provided by the framework offer excellent performance in
> both directions. :)
>
If you can show me a format which offers faster serialisation or
deserialisation than JSON in a .NET application, I'd be impressed! :)
Although I haven't heard anybody experiencing problems with the
performance of either direction in .NET with JSON or XML, the
libraries provided by the framework offer excellent performance in
both directions. :)
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
If you can show me a format which offers faster serialisation or deserialisation than JSON in a .NET application, I'd be impressed! :)
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
Amusingly enough, we use protocol buffers to transport ASN.1-encoded
data (SS7 TCAP messages). The protobuf API is far better than the API
produced by the commercial ASN.1 compiler we use.
-O
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.