Read and write fressian data. See https://github.com/Datomic/fressian/wiki
CLI/deps.edn
dependency information:
org.clojure/data.fressian {:mvn/version "1.0.0"}
Leiningen dependency information:
[org.clojure/data.fressian "1.0.0"]
Maven dependency information:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>data.fressian</artifactId>
<version>1.0.0</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) Rich Hickey, Cognitect, Inc. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (https://opensource.org/license/epl-1-0/) witch 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:
Alex Miller, Stuart Halloway, JarrodCTaylor & Sean CorfieldEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close