summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2013-04-29 13:07:03 +0300
committerJohannes Rudolph <johannes.rudolph@gmail.com>2013-04-29 13:07:03 +0300
commitf477d68465fd3483a899532f38cb77aa8f12835c (patch)
tree04f3d129178d593a5062642e9cabe9776d27691e
parent522c29d22a775ea7e6a8cd5fc2a50123bd94d66b (diff)
downloadspray-json-f477d68465fd3483a899532f38cb77aa8f12835c.tar.gz
spray-json-f477d68465fd3483a899532f38cb77aa8f12835c.tar.bz2
spray-json-f477d68465fd3483a899532f38cb77aa8f12835c.zip
fix #20: add resolver to README and stress importance of `import DefaultJsonProtocol._`
-rw-r--r--README.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 63578ff..e54f097 100644
--- a/README.markdown
+++ b/README.markdown
@@ -15,6 +15,8 @@ The latest release is `1.2.3` and is built against Scala 2.9.2 as well as Scala
If you use SBT you can include _spray-json_ in your project with
+ resolvers += "spray" at "http://repo.spray.io/"
+
"io.spray" %% "spray-json" % "1.2.3" cross CrossVersion.full
(the trailing "cross CrossVersion.full" modifier is only required when using SBT 0.12.x with Scala < 2.10)
@@ -30,7 +32,7 @@ _spray-json_ is really easy to use.
Just bring all relevant elements in scope with
import spray.json._
- import DefaultJsonProtocol._
+ import DefaultJsonProtocol._ // !!! IMPORTANT, else `convertTo` and `toJson` won't work
and do one or more of the following: