thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Mergen <>
Subject Recursive data structures
Date Sun, 26 Oct 2008 13:01:09 GMT

I can imagine this being asked before, but I have a little problem: I need to use Thrift to
transport recursive (tree-like) data structures. Is this at all possible ? Have any efforts
been made to implement this functionality ?

To illustrate the use case, this is an example of what I'm trying to achieve:

struct node {
        1:string id,
        2:map <string, node> children

And, ofcourse, Thrift generates the error "Type "node" has not been defined".

Any thoughts ?


Leon Mergen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message