Skip to content

Commit 5daaa10

Browse files
committed
explicitly print nothing/missing
1 parent 7633909 commit 5daaa10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/TableView.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ function table2json(rows, names, types; requested = nothing)
171171
print(io, ':')
172172
if col isa Number
173173
JSON.print(io, col)
174+
elseif col === nothing
175+
JSON.print(io, "nothing")
176+
elseif col === missing
177+
JSON.print(io, "missing")
174178
else
175179
JSON.print(io, sprint(print, col))
176180
end

0 commit comments

Comments
 (0)