I want to get all nodes and relationships to JSON. If i execute this in the neo4j-browser i get what i want. (http://neo4j.com/developer/guide-data-visualization/)
:POST /db/data/transaction/commit
{"statements":[{"statement":"MATCH path = (n)-[r]->(m) RETURN path",
"resultDataContents":["graph"]}]}
Using Neo4jclient in my ASP.NET application, and don't know how to translate that. I have checked the example project they have on their site, but it doesn't help me.
Eventually i will use the result to present it with d3. But i cant get the JSON to work.