Neo4j - Readify - convert to interface property

时间:2017-05-14 06:58:31

标签: c# neo4j cypher

I have one object with one of the property which is collection of "InterfaceA".

The cypher query generated with Readify gives me expected result in neo4j browser tool. But C# code fails to desearlize the response since it fails to recognize to which object type the collection should be desearlized.

How to achieve this ?

1 个答案:

答案 0 :(得分:0)

找到同样的解决方案。 一个人需要使用转换器 -

client.JsonConverters.Add(new CustomJsonConverter());