circe


License

License

MIT
GroupId

GroupId

io.github.howardjohn
ArtifactId

ArtifactId

scanamo-circe_2.12
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

circe
circe
Project URL

Project URL

https://github.com/howardjohn/scanamo-json
Project Organization

Project Organization

io.github.howardjohn
Source Code Management

Source Code Management

https://github.com/howardjohn/scanamo-json

Download scanamo-circe_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.howardjohn/scanamo-circe_2.12/ -->
<dependency>
    <groupId>io.github.howardjohn</groupId>
    <artifactId>scanamo-circe_2.12</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.howardjohn/scanamo-circe_2.12/
implementation 'io.github.howardjohn:scanamo-circe_2.12:0.2.1'
// https://jarcasting.com/artifacts/io.github.howardjohn/scanamo-circe_2.12/
implementation ("io.github.howardjohn:scanamo-circe_2.12:0.2.1")
'io.github.howardjohn:scanamo-circe_2.12:jar:0.2.1'
<dependency org="io.github.howardjohn" name="scanamo-circe_2.12" rev="0.2.1">
  <artifact name="scanamo-circe_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.howardjohn', module='scanamo-circe_2.12', version='0.2.1')
)
libraryDependencies += "io.github.howardjohn" % "scanamo-circe_2.12" % "0.2.1"
[io.github.howardjohn/scanamo-circe_2.12 "0.2.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.6
io.circe : circe-parser_2.12 jar 0.9.0
com.gu : scanamo_2.12 jar 1.0.0-M6

test (2)

Group / Artifact Type Version
io.github.howardjohn : scanamo-json-tests_2.12 jar 0.2.1
org.scalatest : scalatest_2.12 jar 3.0.4

Project Modules

There are no modules declared in this project.

Scanamo Json

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

Circe

First, add the dependency:

    libraryDependencies += "io.github.howardjohn" %% "scanamo-circe" % "0.2.1"

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.

Play Json

First, add the dependency:

    libraryDependencies += "io.github.howardjohn" %% "scanamo-play-json" % "0.2.1"

Finally, the format can be imported with:

    import io.github.howardjohn.scanamo.PlayJsonDynamoFormat._

This provides a DynamoFormat[T] for all T with a (play-json) Format.

Versions

Version
0.2.1
0.2.0
0.1.0