how to write json file in python with spacing code example Example: json python no whitespace json.dumps(separators=(',', ':'))