JSONDecodeError on JSON with multiple lines
{'login': 'gchhablani', 'id': 29076344, 'node_id': 'MDQ6VXNlcjI5MDc2MzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/29076344?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/gchhablani', 'html_url': 'https://github.com/gchhablani', 'followers_url': 'https://api.github.com/users/gchhablani/followers', 'following_url': 'https://api.github.com/users/gchhablani/following{/other_user}', 'gists_url': 'https://api.github.com/users/gchhablani/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/gchhablani/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/gchhablani/subscriptions', 'organizations_url': 'https://api.github.com/users/gchhablani/orgs', 'repos_url': 'https://api.github.com/users/gchhablani/repos', 'events_url': 'https://api.github.com/users/gchhablani/events{/privacy}', 'received_events_url': 'https://api.github.com/users/gchhablani/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['Hi !\r\n\r\nThe `json` dataset script does support this format. For example loading a dataset with this format works on my side:\r\n```json\r\n{"key1":11, "key2":12, "key3":13}\r\n{"key1":21, "key2":22, "key3":23}\r\n```\r\n\r\nCan you show the full stacktrace please ? Also which version of datasets and pyarrow are you using ?\r\n\r\n'
 "Hi Quentin!\r\n\r\nI apologize for bothering you. There was some issue with my pyarrow version as far as I understand. I don't remember the exact version I was using as I didn't check it.\r\n\r\nI repeated it with `datasets 1.2.1` and `pyarrow  2.0.0` and it worked.\r\n\r\nClosing this issue. Again, sorry for the bother.\r\n\r\nThanks,\r\nGunjan"]
Hello :),

I have been trying to load data using a JSON file. Based on the [docs](https://huggingface.co/docs/datasets/loading_datasets.html#json-files), the following format is supported:

```json
{"key1":11, "key2":12, "key3":13}
{"key1":21, "key2":22, "key3":23}
```
 But, when I try loading a dataset with the same format, I get a JSONDecodeError : `JSONDecodeError: Extra data: line 2 column 1 (char 7142)`. Now, this is expected when using `json` to load a JSON file. But I was wondering if there are any special arguments to pass when using `load_dataset` as the docs suggest that this format is supported.

When I convert the JSON file to a list of dictionaries format, I get AttributeError: `AttributeError: 'list' object has no attribute 'keys'`. So, I can't convert them to list of dictionaries either.

Please let me know :)

Thanks,
Gunjan
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1784/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}