Appendix 3 Working with EDN and Transit
Web Development with Clojure, Third Edition — by Dmitri Sotnikov, Scot Brown (93 / 107)
Clojure has its own preferred data format, EDN.[99] It’s also common to use a more performant format that has feature parity with EDN called Transit.[100] Transit leverages existing high-performance serializers for JSON[101] and MessagePack[102] while leaving the developer experience relatively unchanged.
This appendix provides a brief introduction to these two data formats, along with some common usage examples.
Web Development with Clojure, Third Edition by Dmitri Sotnikov, Scot Brown can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.