Hello, I have been searching ProtoBufs documentation for hours and I could not find a simple feature: how to write a generic type, which is determined at runtime, similar to "object". As far as I can see all values need to have specific types. Suppose I want to serialize an object:
message Object { message Field { required string name = 1; required string value = 2; } optional string objectType = 1; repeated Field fields = 2; } How can I make Field.value be of any type (="object")? Thrift doesnt have it, Cisco Etch and Hessian have it. ProtoBuffs toolchain looks the best support, but this is showstopper problem for us. I appreciate your answer. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---