Scanamo Json
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.
Getting started
Circe
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
.
Support
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.