skip to Main Content

Insert JSON Data into already existing SQL Table

I am doing an API call which returns the following JSON as a string: [{ "id": 103000180455, "name": "Personal", "created_at": "2023-06-12T07:12:52Z", "updated_at": "2023-06-12T07:12:52Z", "personal": true, "responses_count": 1 }, { "id": 103000180454, "name": "General", "created_at": "2023-06-12T07:12:52Z", "updated_at": "2023-06-12T07:12:52Z", "personal": false, "responses_count":…

VIEW QUESTION

Can neo4j create the map automatically from the json file if the relationships are defined in the json file?

I have a json file that defines the nodes and their relationships. It looks sometihng like this: {"p":{"type":"node","id":"0","labels":["Paintings"],"properties":{"date":"1659-01-01T00:00:00","img":"removed-for-brevity(RFB)","name":"King Caspar","sitelink":"1","description":"RFB","exhibit":"RAB","uri":"RFB"}},"r":{"id":"144","type":"relationship","label":"on_MATERIAL","start":{"id":"0","labels":["Paintings"]},"end":{"id":"2504","labels":["Material"]}},"n":{"type":"node","id":"2504","labels":["Material"],"properties":{"name":"oak","sitelink":5,"description":"RFB","uri":"RFB"}}} "p" is the first node, "r" is the relationship, "n" is the second node. Is it possible for neo4j to create…

VIEW QUESTION
Back To Top
Search