Skip to content Skip to sidebar Skip to footer

Parsing The Json Result From A Cypher Query With Neo4j Rest Api In Java Using Jsonreader

I have currently written a program that retrieves the JSON result of a Cypher query that I have made to a Neo4j database using the REST API. This project has was written in Android

Solution 1:

data has nested array: [[]]

"data":[["1607174"]]

So you need to begin inner array.

JsonReader.beginArray(); // outer
 JsonReader.beginArray(); // innerStringresult= JsonReader.nextString();

P.S. loop through inner array if it might has multiple values

Post a Comment for "Parsing The Json Result From A Cypher Query With Neo4j Rest Api In Java Using Jsonreader"