null string deserialized to empty string when using protobuf-net
        Posted  
        
            by cornerback84
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by cornerback84
        
        
        
        Published on 2010-04-30T08:03:24Z
        Indexed on 
            2010/04/30
            8:07 UTC
        
        
        Read the original article
        Hit count: 264
        
protobuf-net
I am using protobuf-net to serialize and deserialize my messages. My message also contain come strings that can be null. However when I deserialize them on the other side, I get empty strings ("").
According to google docs, the default value for string type in empty string. What could be the resolution for this issue?
© Stack Overflow or respective owner