Skip to content

Comment on Reasons to use protocol buffers instead of JSON

Comments

...in Ruby. For some applications.

With Node, I'd have to see a very good argument for why I should give up all of JSON's great features for the vast majority of services. Unless the data itself needs to be binary, I see no reason why I shouldn't use the easy, standard, well-supported, nice-to-work-with JSON.

In javascript, JSON is also much faster to deserialize than protobuffers.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.