4 ms·
Do any of these options support proper handling of cycles in the object graph out of the box?
by _pmf_ 8y ago
Do any of these options support proper handling of cycles in the object graph out of the box?
- GordonS 8y agoYes. Using the Newtonsoft library you can configure it using `JsonSerializerSettings.ReferenceLoopHandling`, and with with protobuf-net you set `AsReference` on your class's `ProtoContractAttribute`. I don't think MessagePack-CSharp or msgpack-cli support cyclic references tho.