Hi all,
newbie warning!!!!
So I created a set of nodes and then exported the data to a .json file
I am using version 4.2.3 and APOC 4.201
Now I have deleted my data and am importing the json back. (my current exercise)
The data looks like
[
{
...
Well it turns out the solution is that the JSON tree walking failed me so here is the solution.
WITH "files:///home/XXXX/.local/share/neo4j-relate/dbmss/dbms-4be8457c-f913-41ce-8d8a-177764737dde/import/person.json" AS path2json
CALL apoc.load.json(p...
The name is always failed as null. Yet there is data.
It seems the exported JSON is a streaming JSON, perhaps that is the problem?
It will create a single node as Person with just the id().
I get a list of elements in the table
So it does work to this point.
However, the issue arises at
CREATE (p:Person {pid: n.pid})
SET p.name = n.name,
p.ref = n.ref,
p.xref = n.xref
I have no data in the db