You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
record Example {
foo: string
bar: int
}
implicit val f = CourierFormats.recordTemplateFormats[Example]
Json.parse("""{"foo": 1, "bar": 1}""").validate[Example]
outputs
JsError(List((,List(JsonValidationError(List(Unsupported JSON type: class play.api.libs.json.JsNumber),WrappedArray())))))
This does not contain the path where the problem happened. In complicated models, this makes it very hard to figure out the reason for the error.
The text was updated successfully, but these errors were encountered:
For example,
outputs
This does not contain the path where the problem happened. In complicated models, this makes it very hard to figure out the reason for the error.
The text was updated successfully, but these errors were encountered: