Import CSV file with JSON object in Neo4J DB

时间:2018-07-25 05:00:32

标签: json csv neo4j

I am new to neo4J and am stuck in data importing form CSV. I know how to import data from CSV to Neo4J DB. But the below sample CSV has JSON object in one of the columns. From the above CSV I want to build a relationship as in:
(Name) - [Lives In] -> (Address)

Should I use apoc.load.csv for this importing. Or another way to accomplice this data import. Can anyone help me out here by guiding in right direction.

--------CSV file with header--------
Id,Name,Address
1001, ”Hank”, ”[{“door_no”:501, “street”:”Park Avenue”, “Mobile”: [{“home”: 6789432123, “mobile”:5346177889}] }]”
1002, ”Luke”, ”[{“door_no”:673, “street”:”Wilson Street”, “Mobile”: [{“home”: 5196351899, “mobile”:1873625728}] }]”

0 个答案:

没有答案