请教一个问题,查询结果如何返回 json ???
比如有这样的关系: 电影有很多演员,演员有很多朋友 (m:movie)-[r:actors]-(a:actor)-[f:friends]-(u:user)
查询结果如何返回类似这样的json:
{ “movie1”: { “actors”: { “zhang3”: { “name”: “张3”, “age”: 29, “friends”: { “user1”: { “name”: “王5”, “age”: 28 }, “user2”: { “name”: “王6”, “age”: 28 }, “user3”: { “name”: “王7”, “age”: 28 } } }, “li4”:{}, “zhao6”:{} } } }
那位大侠知道?