transit 2023-05-02

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