(ruby) Support encoding/decoding textproto format
What language does this apply to?
ruby
Describe the problem you are trying to solve.
Want to use a conformance suite from google described in textproto format, but the protobuf ruby build seems not to be able to understand the format.
Describe the solution you'd like
msg = Message.decode_text(bytes)
Message.encode_text(msg)
Additional context
python protobuf supports it via the text_format module. go supports it via Unmarshal. I don't know about the state of other builds.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago.
I'd like to remain active 🙏
The upb library which underlies Ruby Protobuf currently supports serializing to, but not parsing from, TextFormat: https://github.com/protocolbuffers/protobuf/tree/main/upb/text
So adding a text format encoder would be pretty straightforward. But adding a parser would require first adding upb support for that.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago.
Active
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
Activate plz
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
Activate plz
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
Activate plz
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
Activate plz