Moraltox
Moraltox

Reputation: 924

Seamless JSON Data Import into Memgraph

I'm working on a project that requires me to import JSON data into Memgraph. What is the best approach to import JSON files into Memgraph? Are there any specific tools or procedures that I should be using to achieve this?

Upvotes: 0

Views: 67

Answers (1)

GrandMel
GrandMel

Reputation: 235

You need to use on of the two query modules that are implemented that are implemented in MAGE:

json_util.load_from_path() has no requirements about the formatting of data inside the JSON file. import_util.json() procedure requires data to be formatted in a specific way. export_util.json() procedure generates the same format when it's used to export data from Memgraph into the JSON file.

Upvotes: 1

Related Questions