serialization - Dictionary in protocol buffers -
is there way serialize dictionary using protocol buffers, or i'll have use thrift if need that?
people typically write down dictionary list of key-value pairs, , rebuild dictionary on other end.
message pair { optional string key = 1; optional string value = 2; } message dictionary { repeated pair pairs = 1; }
Comments
Post a Comment