This project has deviated from the upstream, and now publishes only the circe DynamoFormat. Rather than maintain the confusion between the two projects, this one has split into its own dedicated repo - https://github.com/laserdisc-io/scanamo-circe
Scanamo Json provides DynamoFormat
s for popular Scala Json libraries. The format will serialize directly to DynamoDB AttributeValue
s, allowing full use of DynamoDB while allowing arbitrary Json objects to be stored or reusing existing formats.
First, add the dependency:
libraryDependencies += "io.laserdisc" %% "scanamo-circe" % "1.0.5"
Finally, the format can be imported with:
import io.github.howardjohn.scanamo.CirceDynamoFormat._
This provides a DynamoFormat[T]
for all T
with both an Encoder
and Decoder
.
This project is supported by YourKit with monitoring and profiling Tools. YourKit supports open source with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.