Skip to content

Commit 4381adc

Browse files
committed
fix: add missing JSON.json method def
1 parent 2a45c02 commit 4381adc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qualitative_networks.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ end
460460
function JSON.json(qn::QualitativeNetwork)
461461
return JSON.json(qn_to_bma_dict(qn); omit_empty = false)
462462
end
463+
JSON.json(io_or_filename, qn::QualitativeNetwork) =
464+
JSON.json(io_or_filename, qn_to_bma_dict(qn); omit_empty = false)
463465

464466
"""
465467
$(TYPEDSIGNATURES)

0 commit comments

Comments
 (0)