Neo4j导入标签大小不同的json数据

时间:2018-06-22 13:22:16

标签: json shell neo4j cypher

我想使用cypher-shell在Neo4j中导入json数据集以创建节点。我的json数据集由很多属性组成,但我不知道它们的标签数量是多少。我写一个数据示例:

{"business_id": "FYWN1wneV18bWNgQjJ2GNg","AcceptsInsurance": true, "ByAppointmentOnly": true, "BusinessAcceptsCreditCards": true},

{"business_id": "He-G7vWjzVUysIKrfNbPUQ","BusinessParking": {"garage": false, "street": false, "validated": false, "lot": true, "valet": false}, "HairSpecializesIn": {"coloring": true, "africanamerican": false, "curly": true, "perms": true, "kids": true, "extensions": true, "asian": true, "straightperms": true}, "BusinessAcceptsCreditCards": true, "RestaurantsPriceRange2": 3, "GoodForKids": true, "ByAppointmentOnly": false, "WheelchairAccessible": true},

{"business_id": "KQPW8lFf1y5BT2MxiSZ3QA"}

如何使用Cypher-Shell将这些数据导入db neo4j?谢谢。

0 个答案:

没有答案