play-json-derived-codecs icon indicating copy to clipboard operation
play-json-derived-codecs copied to clipboard

Results 22 play-json-derived-codecs issues
Sort by recently updated
recently updated
newest added
trafficstars

There should be an option to serialize sealed trait hierarchies with only case object values to just a string.

The following code fails to compile with a `could not find Lazy implicit value of type julienrf.json.derived.DerivedReads[A]`: ```scala import julienrf.json.derived import play.api.libs.json._ sealed trait Minimize object Minimize { implicit val...

neither ``` scala sealed trait SillyTrait case class SillyObject(silly: SillyObject) extends SillyTrait object SillyTrait { implicit lazy val format: OFormat[SillyTrait] = flat.oformat((__ \ "type").format[String]) } ``` or ``` scala sealed...

``` scala case class Dog(…) case class Cat(…) ``` and then: ``` scala derived.oformat[Dog :+: Cat :+: CNil] ```

**version info :** play-json-derived-codecs: 10.0.2 play framework: 2.8.15 jdk: 11 **problem describe:** our system shutdown because of stackOverflow. **And the stack is** : _[INFO] 2022-09-30 17:03:46,744 [application-akka.actor.default-dispatcher-381] application - [01bc89095dbf14ce]...

The play-json team changed the groupId for the dependency from `org.typesafe.play` to `org.playframework` for 3.x and later (https://github.com/playframework/play-json/releases/tag/3.0.0). As a workaround, it still uses the same package names so this...

Adds support for play-json 3.0 with the new groupId on the dependency. Fixes #91

It would be great if the library could be used in Scala 3 projects. What are the prerequisites of this upgrade? As I can see a new version of Shapeless...