diff --git a/redstring/parser.py b/redstring/parser.py index 8025c70..87c9ae6 100644 --- a/redstring/parser.py +++ b/redstring/parser.py @@ -328,7 +328,7 @@ def dump(doc: Document, fd: IO): Write a document to a file descriptor. """ dumped_json = doc.to_json() - json.dump(dumped_json, fd) + json.dump(dumped_json, fd, indent=2) #