cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

APOC 3.5.0.3 Exact Syntax for jsonFormat: ARRAY_JSON

keithave
Node Clone

Greetings,

Neo4j 3.5.6 Community

I am trying to pin down the exact apoc syntax for producing array json using apoc 3.5.0.3. I am having a very hard time even finding apoc 3.5.0.3 documentation.

Here is what I am trying, it does not work:

CALL apoc.export.json.query( "Match (b:Beer) Return b.name as name Limit 5", "bnl.json", {config:{jsonFormat:'ARRAY_JSON'}})

I have tried all kinds of iterations in the config param, but nothing seems to work and the only real, with example, type documentation I can find is for apoc 4.*. I can find nothing for 3.5.

Of note, the following works for 4.1.9 Community, but I want it to work in 3.5 Community:

CALL apoc.export.json.query( "Match (b:Beer) Return b.name as name Limit 5", "bnl.json", {jsonFormat:'ARRAY_JSON'})

Grateful for any help.

Many Thanks,

Keith

1 REPLY 1

keithave
Node Clone

Any thoughts at all?? Does ARRAY_JSON just not work in APOC 3.5?

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online