Unfortunately we do not have tooling to support converting to/from YAML. You could do some research to see if there are any third-party solutions or you could write your own (if you do it would be wonderful if you could contribute it to the protobuf repository!)
On Monday, June 6, 2022 at 3:14:27 PM UTC-7 [email protected] wrote: > Hi, > > I am trying to read YAML file with protobuf as schema. I can use some YAML > library to read file into some object. How can I convert it to protobuf > message then? > > I dig down the codes on converting json to message but could not find any > helpful public API. > > Any suggestion? Thanks ahead! > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/27276c5f-7d5c-4142-ad2c-4b2b2c387fb3n%40googlegroups.com.
