Cross-platform transit (de)serialization for data structures across service and language boundaries.
jvm
, node + npm
, clj
, shadow-cljs
This library smooths over the interface differences between transit-clj
and transit-cljs
, which are likely temporary idiosyncrasies. This library will be phased out if the transit
implementations converge on a common API.
{nuid/transit {:git/url "https://github.com/nuid/transit" :sha "..."}}
$ clj # or shadow-cljs node-repl
=> (require '[nuid.transit :as transit])
=> (def rt {:round "trip"})
=> (def w (transit/write rt))
=> (def r (transit/read w))
=> (= rt r) ;; => true
Apache v2.0 or MIT