Thank you Ben.
It is certainly a workable solution. The main issue I have is that it is not standardized. I can not simply tell Avro to serialize an object graph like I can tell Java serialisation.

Would it make sense to extend Avro with references? It is not hard.
Would such an extension make sense for others as well?

Regards
Hans

On 05/12/2010 04:32 PM, Ben Weaver wrote:
Hi Hans,

I've solved this problem by serializing the graph as a mapping of
key/node pairs.  Whenever a node references another node in the graph,
I serialize the reference as a key.

Best wishes,

-Ben

Reply via email to