# Load Dataset Fail for Custom Json Format

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-fail-for-custom-json-format%2F30350%3E%5C
**Category:** Beginners\
**Created:** [January 24, 2023, 8:43pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-fail-for-custom-json-format%2F30350 "2023-01-24T20:43:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![merlinyx](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@merlinyx](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmerlinyx)%5C
**Post date:** [June 20, 2023, 7:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-fail-for-custom-json-format%2F30350%2F4 "2023-06-20T19:58:33Z")

</div>

Hi, this is rather late but I also ran into this issue and realized that the JSON format should be

```auto
{ “A” : string, “B”: list of string, “C”: list of list of bool }
{ “A” : string, “B”: list of string, “C”: list of list of bool }
...
{ “A” : string, “B”: list of string, “C”: list of list of bool }

```

basically each dictionary’s JSON str is delimited with a newline character, instead of having all the dictionaries in a list when being dumped to a file.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-fail-for-custom-json-format%2F30350)._
