Awesome
Play Json tools
play-json-tools
— Set of implicit Play-JSONFormat
helper classes. Example in FlatFormatSpecplay-json-generic
— provides Format derivation for enum like adt's (sealed trait/case objects'). Examples in EnumerationDerivalSpecplay-json-jsoniter
— provides the fastest way to convert an instance ofplay.api.libs.json.JsValue
to byte array and read it back.play-json-circe
— provides conversions to/fromcirce
codecs to ease transitions from one library to another. Examples in CirceToPlayConversionsSpec and PlayToCirceConversionsSpec.
All modules are available for Scala 2.12, 2.13 and 3, except for play-json-generic
, which has no Scala 3 version yet.
Setup
addSbtPlugin("com.evolution" % "sbt-artifactory-plugin" % "0.0.2")
libraryDependencies += "com.evolution" %% "play-json-tools" % "1.0.0"
libraryDependencies += "com.evolution" %% "play-json-generic" % "1.0.0"
libraryDependencies += "com.evolution" %% "play-json-jsoniter" % "1.0.0"