[issue41284] High Level API for json file parsing

Wansoo Kim report at bugs.python.org
Sun Jul 12 09:20:43 EDT 2020


New submission from Wansoo Kim <rladhkstn8 at gmail.com>:

Many Python users use the following snippets to read Json File.

```
with oepn(filepath, 'r') as f:
    data = json.load(f)
```

I suggest providing this snippet as a function.


```
data = json.read(filepath)
```

Reading Json is very frequent task for python users. I think it is worth providing this with the High Level API.

----------
components: Library (Lib)
messages: 373552
nosy: ys19991
priority: normal
severity: normal
status: open
title: High Level API for json file parsing
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41284>
_______________________________________


More information about the Python-bugs-list mailing list