New submission from Wansoo Kim <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue41284>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com