# How can I load a custom json data use load\_dataset

**URL:** <https://discuss.huggingface.co/t/how-can-i-load-a-custom-json-data-use-load-dataset/20094>\
**Category:** Beginners\
**Created:** [July 7, 2022, 9:58am UTC](https://discuss.huggingface.co/t/how-can-i-load-a-custom-json-data-use-load-dataset/20094 "2022-07-07T09:58:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adolf669](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@adolf669](https://discuss.huggingface.co/u/adolf669)\
**Post date:** [July 7, 2022, 9:58am UTC](https://discuss.huggingface.co/t/how-can-i-load-a-custom-json-data-use-load-dataset/20094/1 "2022-07-07T09:58:22Z")

</div>

my json structure like:

```auto
[{'text':"",
'label':
[
{'tittle':'"},\
{'name':""},
...],...},
{...},
...
]

```

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [July 8, 2022, 9:31am UTC](https://discuss.huggingface.co/t/how-can-i-load-a-custom-json-data-use-load-dataset/20094/2 "2022-07-08T09:31:02Z")

</div>

`load_dataset` can load jsons out of the box. See the documentation at [Load](https://huggingface.co/docs/datasets/loading#json)
