Hi 

I have protobuf having 10-12 (key,value) pairs. I want to convert that 
protobuf into string.

eg            event 
                {
         (EVENTID, "1234"),
         (RECORDID, "54321"),
                         (THREADID, "4131"),
         (PROCID, "424"),
         (USER,"test_admin"),
                         (COMPUTER, "ComputerXYZ"),
                   (MESSAGE, "Test Message"),
              (INFO_TASK, "Logoff")
               }

expected output (string):

EVENTID="1234" PROCID="424" RECORDID="54321" 
or 
EVENTID="1234" PROCID="424" USER="test_admin" COMPUTER="ComputerXYZ" 
MESSAGE="Test Message"
or 
any key=value pairs in specific order.


Is there any way I can input a spec file which defines order of key,value 
pairs I want to construct in string? 
How would be the sample spec file?


Thanks


-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to