Hello,
I am trying to load JSON files of roughly hundreds of thousands of small objects into my Neo4j DB efficiently.
I am receiving the JSON files via REST requests to my API, so this is not a one-time operation, therefore I cannot use apoc.load.json
because the files are not stored in a way that Neo4j will have access to, and the files are not coming from an external API so the DB can't request them itself.
I have tried loading them as strings in apoc.convert.fromJsonList
but jackson always throws exceptions saying that I can't give it a string, and since I have no way to properly paramaterize the JSON files, I don't think that's an option unless I'm doing something wrong.
Is it feasible to efficiently CREATE
each individual object from the JSON files, or can I get apoc.convert.fromJsonList
to work with one massive string, or is there another way?
Thanks in advance for your time and thoughts on this!