On 14Sep2019 02:18, Hongyi Zhao <hongyi.z...@gmail.com> wrote:
I'm very confusing on the the differences between json.dumps and json.loads. Any hints?
The direction.json.dumps takes an object and transcribes it as a string. "Dump to string."
json.loads takes a string and decodes it as JSON and returns an object. "Load from string".
Cheers, Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au) -- https://mail.python.org/mailman/listinfo/python-list