The authors say that this isn't supported:
Go的protobuf实现是否支持DynamicMessage?
Specifically, I'd like to serialize a Go struct without a corresponding .proto file, and then deserialize it (also without a .proto file) and programmatically query and extract its fields.
A search of the golang implementation turns up no equivalent functionality.
Is this supported?
(while encoding/gob supports this, I need multi-language compatibility)
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答