In all honestly I can't answer that off the top of my head, and I'm not at
a PC. I can investigate and get back to you.

Marc
On 19 Sep 2013 17:54, "David Deutsch" <da...@reverenddave.com> wrote:

> I have the following member of a class:
>
>             public SerializableDictionary<int,
> SerializableDictionary<int, int>> _test = new SerializableDictionary<int,
> SerializableDictionary<int, int>>();
>
>         [ProtoMember(112, OverwriteList = true)]
>         public SerializableDictionary<int, SerializableDictionary<int,
> int>> SerializedData2
>         {
>             get
>             {
>                 _test.Add(1, new SerializableDictionary<int, int>());
>                 return _test;
>             }
>
>             set
>             {
>                 _test = value;
>             }
>         }
>
>
> When I serialize it, I can confirm that it gets the proper dictionary with
> one entry: a key and a value : [1, SerializableDictionary]. However when I
> deserialize it, the dictionary's sole entry only has the key: [1, null].
> Does anyone know why the value would get lost? Are nested dictionaries not
> supported?
>
>
>  Thanks,
>   Dave
>
> --
> 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 protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to