From ad553109e8e3d6dd182e37b3c38056a8f2d2a1d0 Mon Sep 17 00:00:00 2001 From: mihirk Date: Sat, 3 Jan 2015 22:13:47 +0530 Subject: Adding import of spray.json as well in the documentation which is required for the case class object to be converted to json --- README.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'README.markdown') 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] -- cgit v1.2.3