Fork me on GitHub
#transit
<
2023-05-02
>
souenzzo14:05:34

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)))

borkdude14:05:49

Thanks for replying

judepayne14:05:25

Thanks both!