I am pretty new to Neo4J and currently using the neo4j-java-driver with bolt for accessing the DB and sending (possible) results back to a frontend. This API will obviously be written in Java and provide REST endpoints with JSON as payload.
Now, should I
- somehow transform the query results to JSON (e.g. by using gson) in order to send them
- rather use the jdbc-driver
- or the REST API of my Neo4J DB?
- -- or what else would be the recommended way?
Optional question: I am searching the web for quite some time regarding those questions, but it seems not to be a common task to use the results as JSON. Is this right and if yes, why?
My SO-Question is probably too confused, confusing and naive, but you might find additional information there.