-1

The CypherQuery I used is {“statements” : [{ “statement” : “MATCH (n:ns0__Meas) RETURN n LIMIT 25” }]}.

I've been reading the return String via CURLOPT_WRITEDATA, but the format of the returned json is strange.

{"results":[{"columns":["n"],"data":[{"row":[{"ns0__Name":"Meas30008","ns0__Value":"15500","uri":"http://test.ac.kr/m#_30008"}],"meta":[{"id":1097,"elementId":"4:45f39f8e-89c4-4f8d-9a3a-be92f6961fbf:1097","type":"node","deleted":false}]}]}],"errors":[],"lastBookmarks":["FB:kcwQRfOfjonET42aOr6S9pYfv8kAk5A="]}

The reason why I call it a different format of JSON is because it is very different from the format of JSON that I usually see. Is this a usage issue for Curl that I bring to JSON?

1 Answer 1

0

The response you are seeing conforms to the documented JSON result format for the Neo4j HTTP API. The documentation also shows 2 other supported result formats.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.