title: Parsing JSON Date Time in Scala/Play
body: <p>I have the following Read defined:</p>
  
  <pre><code>import org.joda.time.DateTime;
  
  implicit val userInfoRead: Reads[UserInfo] = (
    (JsPath \ "userName").readNullable[String] and
  ] (JsPath \ "startDate").readNullable[DateTime]
   (UserInfo.apply _)
  </code></pre>
  
  <p>With the following JSON object being passed in:</p>
  
  <pre><code>  "userInfo" : {
      "userName": "joeuser",
      "startDate": "2006-02-28"
    }
  </code></pre>
  
  <p>When I validate this data I get the following error:</p>
  
  <pre><code>(/startDate,List(ValidationError(validate.error.expected.jodadate.format,WrappedArray(yyyy-MM-dd))))))
  </code></pre>
  
  <p>Any suggestions on what I'm missing in the formatting?</p>