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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -