# How can i put into graph a json record with inside records?

**URL:** <https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515>\
**Category:** Procedures & APOC\
**Tags:** apoc, import, json\
**Created:** [December 16, 2020, 11:38pm UTC](https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515 "2020-12-16T23:38:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![damisg7](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/damisg7/32/15570_2.png) [@damisg7](https://community.neo4j.com/u/damisg7)\
**Post date:** [December 16, 2020, 11:38pm UTC](https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515/1 "2020-12-16T23:38:48Z")

</div>

Hi, let's assume that i have a json file like below:

```auto
{
"Laptop": "Lenovo",
"Price": "500$",
"Properties" : {
     "RAM": "4GB DDR4",
     "SSD": "500GB"
 }
}

```

How i can create the correct graph with the node A for the primary properties and the node B (connected to A) for the secondary properties inside the "Properties".

```auto
call apoc.load.json("...")
yield value
merge (a:Laptop{name:value.Laptop, price:value.Price})

```

Then what ??

---

<div class="post-metadata">

**Author:** ![ameyasoft](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ameyasoft/32/32639_2.png) [@ameyasoft](https://community.neo4j.com/u/ameyasoft)\
**Post date:** [December 17, 2020, 12:56am UTC](https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515/2 "2020-12-17T00:56:34Z")

</div>

```auto
Next Step:
merge (b:Properties{ssd: value.Properties.SSD, ram: value.Properties.RAM})

```
