Skip to content

Commit 3f9f0ab

Browse files
author
Ben Baumgold
committed
use print instead of repr
1 parent 946bb8d commit 3f9f0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableView.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function table2json(schema, rows, types; requested = nothing)
267267
if val isa Number && isfinite(val) && -js_max_safe_int < val < js_max_safe_int
268268
JSON.show_pair(columnwriter, ser, name, val)
269269
else
270-
JSON.show_pair(columnwriter, ser, name, repr(MIME("text/plain"), val))
270+
JSON.show_pair(columnwriter, ser, name, sprint(print, val))
271271
end
272272
end
273273
JSON.end_object(columnwriter)

0 commit comments

Comments
 (0)