Skip to content

Commit 04f4d2f

Browse files
authored
Replace JSON3.pretty with JSON3.write (#66)
1 parent 7036a3c commit 04f4d2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/saving.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function _save_attrs(writer::AbstractWriter, key_prefix::String, z::Union{ZArray
5050
if isempty(attrs(z))
5151
return
5252
end
53-
write_key(writer, key_prefix*".zattrs", codeunits(sprint(io->JSON3.pretty(io,attrs(z); allow_inf=true))))
53+
write_key(writer, key_prefix*".zattrs", codeunits(JSON3.write(attrs(z); allow_inf=true)))
5454
return
5555
end
5656

0 commit comments

Comments
 (0)