Skip to content
/ transit Public

Cross-platform transit (de)serialization

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md
Notifications You must be signed in to change notification settings

NuID/transit

Repository files navigation

nuid.transit

Cross-platform transit (de)serialization for data structures across service and language boundaries.

Requirements

jvm, node + npm, clj, shadow-cljs

Clojure and ClojureScript

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.

tools.deps:

{nuid/transit {:git/url "https://github.com/nuid/transit" :sha "..."}}

usage:

$ 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

Licensing

Apache v2.0 or MIT

Releases

No releases published

Packages

No packages published