Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/output.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index 945a6c4f..62a1ba27 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -38,6 +38,8 @@ class FormattedOutput:
raise ValueError('Unsupported formatting call')
elif hasattr(o, 'table_data'):
return o.table_data()
+ elif hasattr(o, 'json'):
+ return o.json()
elif is_dataclass(o):
return asdict(o)
else: