Permalink
Browse files

Updated formatting in README

  • Loading branch information...
cosmin committed Apr 24, 2011
1 parent bb4c0a6 commit 1c7d48413a74d94b16eae9780962c0fc5a01ff5e
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -12,13 +12,19 @@ Future home of Java beans and properties support from contrib. Currently contain
## Extending
;; Representing an instance of YourJavaClass in a Clojure data structure
+
(defmethod from-java YourJavaClass [instance]
+
; your custom logic for turing this instance into a clojure data structure
+
)
;; Constructing an instance of YourJavaClass from a Clojure data structure
+
(defmethod to-java [YourJavaClass clojure.lang.APersistentMap] [clazz props]
+
; your custom logic for constructing an instance from a property map
+
)
## License

0 comments on commit 1c7d484

Please sign in to comment.