Skip to content

Commit

Permalink
Update play-json to 2.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Z1kkurat committed Nov 2, 2023
1 parent 936a4ab commit 179f8b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReleaseTransformations._

val Scala213 = "2.13.10"
val Scala212 = "2.12.17"
val Scala3 = "3.2.2"
val Scala3 = "3.3.1"

val commonSettings = Seq(
homepage := Some(new URL("https://github.com/evolution-gaming/play-json-tools")),
Expand Down Expand Up @@ -98,7 +98,7 @@ lazy val `play-json-jsoniter` = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.settings(
commonSettings,
crossScalaVersions := crossScalaVersions.value ++ Seq("3.2.2"),
crossScalaVersions := crossScalaVersions.value ++ Seq(Scala3),
libraryDependencies ++= (Seq(
playJson,
jsoniter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import scala.util.Try

object PlayJsonJsoniter {
implicit val jsValueCodec: JsonValueCodec[JsValue] = {
val settings = JsonParserSettings.settings
JsonValueCodecJsValue(settings.bigDecimalParseSettings)
val settings = JsonConfig.settings
JsonValueCodecJsValue(settings.bigDecimalParseConfig)
}
implicit val durationFormat: Format[Duration] =
Formats.smallAsciiStringFormat[Duration]("Period", _.readDuration(_), _.writeVal(_))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.github.plokhotnyuk.jsoniter_scala.core.{JsonReader, JsonValueCodec, J
*/
object JsonValueCodecJsValue {

def apply(bigDecimalParseSettings: BigDecimalParseSettings): JsonValueCodec[JsValue] =
def apply(bigDecimalParseSettings: BigDecimalParseConfig): JsonValueCodec[JsValue] =
new JsonValueCodec[JsValue] {
def decodeValue(in: JsonReader, default: JsValue): JsValue = {
val b = in.nextToken()
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {

val shapeless = "com.chuusai" %% "shapeless" % "2.3.10"
val nel = "com.evolutiongaming" %% "nel" % "1.3.4"
val playJson = "com.typesafe.play" %% "play-json" % "2.10.0-RC7"
val playJson = "com.typesafe.play" %% "play-json" % "2.10.2"
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.15"
val jsoniter = "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.23.0"
val jsonGenerator = "com.github.imrafaelmerino" %% "json-scala-values-generator" % "1.0.0"
Expand Down

0 comments on commit 179f8b3

Please sign in to comment.