laserdisc-io / scanamo-json

Scanamo DynamoFormat for popular Scala Json libraries

Version Matrix

Scanamo Json

Build Release Maven Central

Scanamo Json provides DynamoFormats for popular Scala Json libraries. The format will serialize directly to DynamoDB AttributeValues, allowing full use of DynamoDB while allowing arbitrary Json objects to be stored or reusing existing formats.

Getting started


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.