Protocol Buffers And JSON, Part – I

Google released Protocol Buffers as an open source project today. It used to be an internal tool used by Google for passing serialized objects between applications. But frankly, reading through the introduction I don’t see what problem it tries to tackle that JSON can’t. I seriously doubt if PB is faster than JSON. Also, JSON is more generic and flexible than PB. Easier too. Perhaps PB as a project predates JSON. I see several having the same reactions as mine.

I am going to dig into documentations and discussions to make sense of the pros and cons of PB viz-a-viz JSON.

Blogged with the Flock Browser

Tags: , , ,

Share and Enjoy:
  • Twitter
  • email
  • Digg
  • HackerNews
  • Facebook
  • Posterous
  • FriendFeed
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Netvibes
  • Reddit
  • RSS
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr

6 Responses to “Protocol Buffers And JSON, Part – I”

  1. [...] – bookmarked by 6 members originally found by Alistair1990 on 2008-09-13 Protocol Buffers And JSON, Part – I – bookmarked by 5 [...]

  2. Jan-Erik says:

    Well most importantly PB has support for different versions of the objects you try to (de)serialize which JSON doesn't offer. This mechanism becomes very impoartant when you have to deal in an entrprise environment where the components can be using different versions of the domain objects.

  3. Gubbi says:


    At the same time, there is also nothing in JSON that doesn't “allow”
    handling multiple versions of objects. Isn't it?

    Thanks for stopping by and discussing.

  4. Austin says:

    I see a lot of interesting posts on your blog.
    You have to spend a lot of time writing, i know how to save
    you a lot of time, there is a tool that creates unique, SEO friendly articles in couple of
    seconds, just search in google – k2 unlimited content

  5. Poppy says:

    I read a lot of interesting posts here. Probably you spend a lot of time writing, i know
    how to save you a lot of work, there is an online
    tool that creates high quality, google friendly posts in minutes,
    just search in google – laranitas free content source

  6. 83Morris says:

    Hi admin, i must say you have high quality articles here.
    Your website can go viral. You need initial
    traffic boost only. How to get it? Search for: Mertiso’s tips go viral

Leave a Reply