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
could not find implicit value for parameter helper: play.api.libs.json.Reads[List[A]]
TRIGGEREDBY: could not find implicit value for parameter helper: ai.x.play.json.OptionValidationDispatcher[List[A]]
TOSOLVETHIS1. Make sure there is a Reads[List[A]] or Format[List[A]] in the implicit scope
2. Incase of Reads[Option[...]] you need to either
importai.x.play.json.implicits.optionWithNull// suggested
or
importai.x.play.json.implicits.optionNoError// buggy play-json 2.3 behavior3. Incase of Reads[... .type]
importai.x.play.json.SingletonEncoder.simpleNameimportai.x.play.json.implicits.formatSingletonimplicitlazyvaljsonFormat=Jsonx.formatCaseClassUseDefaults[B]
I have read the related issues (ex. #58) and tried to use formatSealedCompositeClassJsonFormat etc., but nothing seems to work. T^T
This is my code:
I get compilation error with the message:
I have read the related issues (ex. #58) and tried to use
formatSealed
CompositeClassJsonFormat
etc., but nothing seems to work. T^Tscala 2.12.10, play-json 2.8.1, play-json-extensions 0.10.0
The text was updated successfully, but these errors were encountered: