新主义如何解析带有“路径”结果的查询

I have this query: match path = (test:Test {t_name:"Test-1"})-[r*]->(child) return path

Json response: results [1] - columns[1] - 0: path - data[6] - row[1] - meta[1] - graph - nodes[2] - relationships[1]

How to parse this query result in Neoism? I want to get the nodes and relationships in the response result.

You can always return these from the query itself, instead of the path:

...
return nodes(path) as nodes, relationships(path) as relationships