Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmytromitin/shapeless-circe-patched-type-keytag

https://stackoverflow.com/questions/74384745/encoding-decoding-a-field-with-any-datatype-assigned-with-value-none-in-scala
https://github.com/dmytromitin/shapeless-circe-patched-type-keytag

circe codec codecs generic-programming macros metaprogramming phantom-types scala shapeless shapeless-library typeclass typeclass-derivation typeclasses types

Last synced: 5 days ago
JSON representation

https://stackoverflow.com/questions/74384745/encoding-decoding-a-field-with-any-datatype-assigned-with-value-none-in-scala

Awesome Lists containing this project

README

        

# shapeless-circe-patched-type-keytag
https://stackoverflow.com/questions/74384745/encoding-decoding-a-field-with-any-datatype-assigned-with-value-none-in-scala

https://github.com/milessabin/shapeless/issues/1285

https://github.com/milessabin/shapeless

https://repo1.maven.org/maven2/com/chuusai/shapeless_2.13/2.3.10/

https://oss.sonatype.org/content/groups/public/com/github/dmytromitin/shapeless-patched-type-keytag_2.13/2.3.10/

https://github.com/circe/circe

https://repo1.maven.org/maven2/io/circe/circe-generic_2.13/0.14.3/

https://oss.sonatype.org/content/groups/public/com/github/dmytromitin/circe-generic-patched-type-keytag_2.13/0.14.3/

https://github.com/DmytroMitin/shapeless-circe-patched-type-keytag/commit/aaeffcf60c9d4b76f2b726116ed843c3c1426f3e

https://github.com/DmytroMitin/shapeless-circe-patched-type-keytag/commit/93ee58a24e1f3a4babf904d14c966859cedd2f38

https://github.com/DmytroMitin/shapeless-circe-patched-type-keytag/blob/main/core/src/main/scala/Main.scala

```scala
scalaVersion := "2.13.10"
resolvers ++= Resolver.sonatypeOssRepos("releases")
libraryDependencies ++= Seq(
"io.circe" %% "circe-core" % "0.14.3",
"io.circe" %% "circe-parser" % "0.14.3",
"com.github.dmytromitin" %% "circe-generic-patched-type-keytag" % "0.14.3",
"com.github.dmytromitin" %% "shapeless-patched-type-keytag" % "2.3.10"
)
scalacOptions += "-Ymacro-debug-lite"
```

```scala
sbt clean compile core/run
```