It takes a Python object, serializes it and writes the output (which is a JSON string) to a file like object. The syntax of dump() function is as follows:.
確定! 回上一頁