jsoniter-scala icon indicating copy to clipboard operation
jsoniter-scala copied to clipboard

Scala macros for compile-time generation of safe and ultra-fast JSON codecs

Results 113 jsoniter-scala issues
Sort by recently updated
recently updated
newest added

Hey, Actually i am using `jsoniter-scala` lib but i am having situation like this ``` val jsonString1 = """{"name": "foo", "id": "2604"}""" val jsonString2 = """{"name": "bar", "id": 2105}""" ```...

question

When trying: ```Scala case class ConfiguracionCola( nombre: String, maxWorkers: Int, jobTimeout: Duration, observaciones: String, prioritaria: Boolean, grupo: String, httpTimeout: Duration, httpTtl: Duration, httpMaxReintentos: Int ) object ConfiguracionCola: given JsonValueCodec[ConfiguracionCola:] =...

enhancement
question

Hi, Is there a way to completely skip the serialization of an optional class field with a default value ? As an example, say I have a class Foo: ```scala...

question

I have an interesting usecase where I'm deserializing a JSONB column from Postgres into a class object. In most cases however I'm just sending these as a CRUD API output...

question

I was testing the behavior of Circe and Jsoniter by deriving the codecs for `Out` case class defined like this: ```scala class NewType private (val value: Int) object NewType {...

enhancement

Here's a simplified scenario. Any insight would be greatly appreciated. ```scala import com.github.plokhotnyuk.jsoniter_scala.core.* import com.github.plokhotnyuk.jsoniter_scala.macros.* trait Aggregate { type Props def propsCodec: JsonValueCodec[Props] given JsonValueCodec[Props] = propsCodec } trait Events...

question

Hi, Thanks for your contribution. I have a question about how [this buffer](https://github.com/plokhotnyuk/jsoniter-scala/blob/2c9769aa9662d7c5c2a2f5d06e04c7aeb964c8ef/jsoniter-scala-core/js/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala#L27) which is part of the thread local variable [writer pool](https://github.com/plokhotnyuk/jsoniter-scala/blob/2c9769aa9662d7c5c2a2f5d06e04c7aeb964c8ef/jsoniter-scala-core/jvm/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/package.scala#L11) connects to something like the writer config...

question

Recent changes to `jsoniter-scala-core/native/src/main/resources/scala-native/multiply_high.c` have advanced the discussion. I do have a concern about one section of code. Please forgive me if I have missed something, either obvious or subtle....

enhancement