ProtoBuf.jl icon indicating copy to clipboard operation
ProtoBuf.jl copied to clipboard

Support for plain-text format?

Open malmaud opened this issue 9 years ago • 3 comments
trafficstars

Thanks for this great package! Scanning the documentation, it doesn't look like there's support for reading or writing plain-text format (ie this). Is that something you'd consider? I might be able to make a PR for it if doesn't turn out to be too complicated.

malmaud avatar Jul 19 '16 15:07 malmaud

Thanks. Related: #12. Is there a spec outlining the text format? That's primarily what has prevented implementing this.

tanmaykm avatar Jul 19 '16 17:07 tanmaykm

I searched but couldn't find a formal spec, but I know from experience it's relatively simple. https://github.com/brotchie/protobuf-textformat is a pretty minimal implementation that might be an easier reference than the C++ code.

malmaud avatar Jul 20 '16 14:07 malmaud

This is a blocker for adopting ProtoBuf in https://github.com/odow/MathOptFormat.jl. I'll look into what's involved in reading the plain-text format, but would appreciate any tips.

mlubin avatar Oct 14 '17 23:10 mlubin