-
zio json can't generate encoder for nested case class:
```
case class A(v: Int)
case class B(v: A)
object B {
implicit val encoder: JsonEncoder[B] =
…
-
_Sub-quadratic_ decreasing of throughput when number of JSON object fields (with keys that have the same hash code) is increasing
On contemporary CPUs parsing of such JSON object (with a sequence o…
-
### json4s version
4.1.0-M2
### scala version
2.13.10
### jdk version
AdoptOpenJDK Java 11.0.6
Example to reproduce below. The first test succeeds. The second test fails.
```
import org.…
-
I'm exploring the integration of Jsoniter with [tapir-pickler](https://tapir.softwaremill.com/en/v1.8.2/endpoint/pickler.html), aiming to streamline the derivation of JSON codecs and schemas for Tapir…
-
Simple reproduction:
https://scastie.scala-lang.org/ApPHtGwrRE2GCGUpECBGww
```scala
import com.github.plokhotnyuk.jsoniter_scala.core.*
import com.github.plokhotnyuk.jsoniter_scala.macros.*
…
-
```scala scala-cli nightly-checker
//> using scala "3.1.2"
// //> using scala "3.1.1" // Last stable working version
trait Error
sealed abstract class Codec[A] {
type AvroType
def encode(a…
-
Hello!
I have a endpoint that streams a json-array (via akka json-streaming) (array, starting with `[`, then the elements, then `]`)
Usually, the stream returns elements of Type `A` (happy path). …
-
NPE when dealing with case classes containing non-Scala/Java data types
```
Caused by: java.lang.NullPointerException
at com.github.plokhotnyuk.jsoniter_scala.core.JsonWriter.writeVal(JsonWriter…
Tagar updated
3 years ago
-
Given this schema:
```
namespace jsonschema
use smithy4s.api#untagged
structure Schema {
definitions: Definitions,
properties: Properties,
type: SchemaType,
}
map Definitions {
…
-
I have the following class hierarchy:
```scala
import com.github.plokhotnyuk.jsoniter_scala.macros._
import com.github.plokhotnyuk.jsoniter_scala.core._
final case class Container(a: Option[In…