"com.busymachines" %% s"json-circe" % "0.3.0-M1". Which in turn depends on:
- Scala 2.13: for JVM and JS
- Scala 3: for JVM and JS
Under construction. See release notes and tests for examples.
⚠️ if you are upgrading from versions 0.2.0 or before
0.14.1 the method of deriving sealed traits using the
_type discriminator no longer exists for Scala 3. So in an effort to support Scala 3 this behavior is deprecated in Scala 2, and in Scala 3 it is stubbed out. Please make efforts in migrating to the usage of
busymachines.pureharm.json.GenericSemiAutoDerivation xor its counterpart
busymachines.pureharm.json.derived. The deprecation warnings will guide you. Note that this is non-trivial in case you were using the old method to derive sealed trait hierarchies, otherwise the transition does not break anything.