Re: Protobuf-net preserves object references?

2009-10-05 Thread Marc Gravell
rences -- 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 wrote: > > >

Re: Protobuf-net preserves object references?

2009-10-05 Thread jae
g 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 wrote: > > > Hi all, > > > I just wonder if protobuf-net preserves object references. From my > > experience, when the same

Re: Protobuf-net preserves object references?

2009-10-05 Thread Kenton Varda
, 2009 at 5:42 PM, jae 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 > pre

Protobuf-net preserves object references?

2009-10-05 Thread jae
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 para