Read and write fressian data. See https://github.com/Datomic/fressian/wiki
Leiningen dependency information:
[org.clojure/data.fressian "0.2.1"]
Maven dependency information:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>data.fressian</artifactId>
<version>0.2.1</version>
</dependency>
Other versions:
Basic examples:
(require '[clojure.data.fressian :as fress])
;; read / write objects
(fress/write x)
(fress/read)
;; create reader/write on input/output streams
(fress/create-reader is)
(fress/create-writer os)
It is also possible to create custom tags and handlers. For more information see Creating custom handlers for details.
Copyright (c) Cognitect, Inc. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.
Can you improve this documentation? These fine people already did:
Stuart Halloway & Alex MillerEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close