3 ms·
It's an unstructured format, that's the point. You can't edit a protobufs in an editor.
by peterbraden 9y ago
It's an unstructured format, that's the point.
You can't edit a protobufs in an editor.
- yorwba 9y agoMaybe not in vanilla text editors, but I don't see a reason you couldn't have an Emacs mode or special-purpose editor that lets you manipulate protobufs as text or structured data, respectively.
- pebers 9y agoActually, there is a built-in ASCII format for them as well. It's a little less flexible than the binary serialisation though. There's a canonical JSON serialisation in v3 as well, although obviously that doesn't solve the OP's problem...
- nly 9y agoProto3 has a JSON serialization that you can use as an intermediate for editing