How to compress JSON-able data using gzip (Python 3) - json_to_gzip.py. ... json_data = json.dumps(data, indent=2). # Convert to bytes.
確定! 回上一頁