> I need to pass structure A, which has structure B as children. And in
> structure B there is the reference to structure A in 'parent' field.
You cannot do it. Thrift does not support any kind of circular structure
definition. You will have to "flatten" out the structure yourself. For
example, add a unique-id field to all structures, and then pass an array
of ID's followed by all the structures. On the receiving side, reconstruct
the tree.
/r$
--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/