[Python-ideas] Add pathlib.Path.write_json and pathlib.Path.read_json

Markus Meskanen markusmeskanen at gmail.com
Mon Mar 27 10:44:07 EDT 2017


Another idea: Maybe make json.load and json.dump support Path objects?


Much better. Or maybe add json.load_path and dump_path
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170327/32fdd2d2/attachment.html>


More information about the Python-ideas mailing list