summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 6e5e738..1e42c05 100644
--- a/README.markdown
+++ b/README.markdown
@@ -116,6 +116,7 @@ object MyJsonProtocol extends DefaultJsonProtocol {
}
import MyJsonProtocol._
+import spray.json._
val json = Color("CadetBlue", 95, 158, 160).toJson
val color = json.convertTo[Color]