Hacker News new | past | comments | ask | show | jobs | submit login

Serialized protocol buffers can be converted to the human friendly text format:

https://protobuf.dev/reference/protobuf/textformat-spec/

He most likely wants to have the type structure generated by protocol buffer as opposed to parsing JSON

The latter requires asserting in a million places that this key exists in this map with this type, which will require a million lines of crap code.

Not to mention packing and unpacking the serialized data and maintaining two separate sets of corresponding structures/records that have to be kept in sync.




Protobuf also needs to deserialized. Cap'n proto would have been the better option.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: