Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated formatting in README

  • Loading branch information...
commit 1c7d48413a74d94b16eae9780962c0fc5a01ff5e 1 parent bb4c0a6
Cosmin Stejerean authored April 23, 2011

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  README.md
6  README.md
Source Rendered
@@ -12,13 +12,19 @@ Future home of Java beans and properties support from contrib. Currently contain
12 12
 ## Extending
13 13
 
14 14
 ;; Representing an instance of YourJavaClass in a Clojure data structure
  15
+
15 16
 (defmethod from-java YourJavaClass [instance]
  17
+
16 18
   ; your custom logic for turing this instance into a clojure data structure
  19
+
17 20
 )
18 21
 
19 22
 ;; Constructing an instance of YourJavaClass from a Clojure data structure
  23
+
20 24
 (defmethod to-java [YourJavaClass clojure.lang.APersistentMap] [clazz props]
  25
+
21 26
   ; your custom logic for constructing an instance from a property map
  27
+
22 28
 )
23 29
 
24 30
 ## License

0 notes on commit 1c7d484

Please sign in to comment.
Something went wrong with that request. Please try again.