Paweł Kiersznowski
Paweł Kiersznowski
```scala object TokenUsdPriceDomain: opaque type TokenUsdPriceTimestamp = Instant object TokenUsdPriceTimestamp extends Opaque[TokenUsdPriceTimestamp, Instant] opaque type TokenUsdPriceValue = BigDecimal object TokenUsdPriceValue extends Opaque[TokenUsdPriceValue, BigDecimal] // TokenUsdPriceValue is stored in database as...
Using this SBT plugin is recommended: https://github.com/sbt/sbt-projectmatrix
The implementation can be inspired by the currently existing benchmark for spray-json: https://github.com/theiterators/kebs/blob/master/benchmarks/src/main/scala/pl/iterators/kebs_benchmarks/SprayJsonFormatBenchmark.scala
https://github.com/plokhotnyuk/jsoniter-scala