diff options
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index ee4759e..adb6561 100644 --- a/README.markdown +++ b/README.markdown @@ -188,7 +188,7 @@ object MyJsonProtocol extends DefaultJsonProtocol { import MyJsonProtocol._ -val json = Color("CadetBlue", 95, 158, 160).toJson +val json = new Color("CadetBlue", 95, 158, 160).toJson val color = json.convertTo[Color] ``` |