[O] Default to indent none to save space

This commit is contained in:
Hykilpikonna
2021-11-22 15:22:09 -05:00
parent 1c6629e504
commit d9a78baa3d
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class EnhancedJSONEncoder(json.JSONEncoder):
return super().default(o)
def json_stringify(obj, indent: Union[int, None] = 1) -> str:
def json_stringify(obj, indent: Union[int, None] = None) -> str:
"""
Serialize json string with support for dataclasses and datetime and sets and with custom
configuration.