org.coursera.common.jsonformat
Formats for case classs constructed with Json.format can fail with an exception if the constructor checks a condition with require. These formats catch the exception and return the appropriate JsError.
case class
Json.format
Formats for
case class
s constructed withJson.format
can fail with an exception if the constructor checks a condition with require. These formats catch the exception and return the appropriate JsError.