O'Reilly logo

Clojure Applied by Alex Miller, Ben Vandgrift

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transit

Transit[35] is a relative newcomer to the world of data interchange, thoughtfully developed to solve a problem many have wrestled with: how to communicate extensible typed values cleanly and quickly regardless of language. With its release came several implementations (Clojure, ClojureScript, Java, JavaScript, Ruby, and Python), and more have been developed subsequently.

Fundamentally, Transit is an extensible metaformat that sits atop either JSON or MessagePack, and a collection of client libraries that handle the translation of Transit-encoded typed values into language-native values. We’ll be using transit-clj,[36] since we’re working in Clojure.

Transit data has a verbose form that’s somewhat human-readable and compact forms that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required