Thank you for the quick response, Kenton!

On Oct 5, 6:08 pm, Kenton Varda <ken...@google.com> wrote:
> The protobuf encoding does not provide any built-in way to represent object
> references -- all protobuf messages are trees, not graphs.  You can
> implement references at a higher level, e.g. using integer indexes to refer
> to other objects in a repeated field, but this is not built-in.
>
>
>
> On Mon, Oct 5, 2009 at 5:42 PM, jae <jaehyeo...@gmail.com> wrote:
>
> > Hi all,
>
> > I just wonder if protobuf-net preserves object references. From my
> > experience, when the same object is referenced in two different
> > places, Protobuf.Serializer writes it twice. I found it's possible to
> > preserve object references in DataContractSerializer from its
> > constructor parameter, but I couldn't find any property or parameter
> > of Protobuf.Serializer that takes care of it. Am I missing something?
> > or it's not there yet?
>
> > Thank you!
>
> > Jae
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to