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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -