I spotted a transit question here: https://stackoverflow.com/questions/76155457/clojure-transit-serializing-nested-metadata
cc @mojo
Seems that it works out-of-the-box
(let [baos (ByteArrayOutputStream.)]
(t/write (t/writer baos :json {:transform t/write-meta})
(with-meta {:hello "world"}
(with-meta {:hey 42}
{:you 42})))
(.flush baos)
(t/read (t/reader (io/input-stream (.toByteArray baos)) :json)))Thanks for replying
Thanks both!
@mojo has joined the channel