You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to pretty-print a stream of data? I figured generate-string and generate-stream would have comparable options, but only generate-string seems to be pretty printed.
(println (generate-string data {:pretty true})) ; pretty-printed
(generate-stream data (clojure.java.io/writer "test.json")) {:pretty true}) ; not pretty-printed in file
The text was updated successfully, but these errors were encountered:
Is there a way to pretty-print a stream of data? I figured generate-string and generate-stream would have comparable options, but only generate-string seems to be pretty printed.
The text was updated successfully, but these errors were encountered: