Hello, How do you create and use a DynamicList() to parse a serialized List(List(struct)) object? I have a schema::Type::Reader object representing the type, but not sure how to instantiate the ListSchema correctly, and from there create the DynamicList.
Is there an example of code I can look at? I could not find any unit test for DynamicList with List of List. I see I can use SchemaLoader.get() to get a capnp::Type out of a schema::Type::Reader, and from there I can get the ListSchema, and DynamicList. But the .get() method recurses on the Type, so it'll return the type of the inner struct, rather than outer List, and I suspect the returned DynamicList will iterate on the inner struct, rather than the outer list. (If you see a duplicate, apologies - it seemed like the message was first blocked as spam) Carlo -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAN6NmweA-yogePipve8auUVYp0xge%2BYYQN82O%3DWcYcJ2rbd%3Dxg%40mail.gmail.com.
