Update json_to_md.py
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 25s

This commit is contained in:
2025-07-17 15:07:57 +02:00
parent a3466224d7
commit e57981e69c
+1 -1
View File
@@ -17,7 +17,7 @@ def stringify(obj, indent=0):
elif isinstance(obj, (int, float, str, bool)):
return str(obj)
elif isinstance(obj, list):
return '\n'.join(f"{space}- {stringify(e, indent + 1)}" for e in obj)
return '\n'.join(f"{space} {stringify(e, indent + 1)}" for e in obj)
elif isinstance(obj, dict):
return '\n'.join(f"{space}{k}: {stringify(v, indent + 1)}" for k, v in obj.items())
elif hasattr(obj, '__str__'):