Skip to content

Commit 858c678

Browse files
committed
Merge branch 'master' of github.com:clojure/data.fressian
2 parents 5f90a9d + 4f2ce30 commit 858c678

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,21 @@ Other versions:
2828

2929
[API Documentation](http://clojure.github.com/data.fressian/)
3030

31-
Examples:
31+
Basic examples:
3232

33-
(require '[clojure.data.fressian :as fress])
33+
```clojure
34+
(require '[clojure.data.fressian :as fress])
3435

35-
;; read / write objects
36-
(fress/write x)
37-
(fress/read)
36+
;; read / write objects
37+
(fress/write x)
38+
(fress/read)
3839

39-
;; create reader/write on input/output streams
40-
(fress/create-reader is)
41-
(fress/create-writer os)
42-
43-
;; all read/write functions take optional handlers
44-
(fress/write x :handlers my-handlers)
45-
46-
Other options are available. Refer to the [API Documentation](http://clojure.github.com/data.fressian/) for details.
40+
;; create reader/write on input/output streams
41+
(fress/create-reader is)
42+
(fress/create-writer os)
43+
```
4744

45+
It is also possible to create custom tags and handlers. For more information see [Creating custom handlers](https://github.com/clojure/data.fressian/wiki/Creating-custom-handlers) for details.
4846

4947
# Developer Information
5048

0 commit comments

Comments
 (0)