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

Once in a while, when I F up, I get the familiar exception: ``` com.github.plokhotnyuk.jsoniter_scala.core.JsonReaderException: missing required field "id", offset: 0x00000a14, buf: +----------+-------------------------------------------------+------------------+ | | 0 1 2 3 4...

enhancement
question

We have JsonCodecMaker.makeWithRequiredCollectionFields But if input: { "arr": null } and case class Test(arr: Seq[Int]) We will be have arr = Seq() empty collection. But sometimes we need Exception in...

question

I looked at the http4s example, but it appears to read all inputs into memory rather than streaming. This appears to work so far, but it would be nice to...

question

https://www.reddit.com/r/rust/comments/a6j5j1/making_rust_float_parsing_fast_and_correct/

enhancement
help wanted

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.scala:263) at line2bf6e771f0214565bf00d2eff151d538147.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$KinesisSink$$anon$1.e0(command-3626532786886738:27) at line2bf6e771f0214565bf00d2eff151d538147.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$KinesisSink$$anon$1.encodeValue(command-3626532786886738:27) at line2bf6e771f0214565bf00d2eff151d538147.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$KinesisSink$$anon$1.encodeValue(command-3626532786886738:27) at com.github.plokhotnyuk.jsoniter_scala.core.JsonWriter.write(JsonWriter.scala:525) at com.github.plokhotnyuk.jsoniter_scala.core.package$.writeToArray(package.scala:208) at line2bf6e771f0214565bf00d2eff151d538147.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$KinesisSink.process(command-3626532786886738:43) at line2bf6e771f0214565bf00d2eff151d538147.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$KinesisSink.process(command-3626532786886738:11)...

question

It should check compile time of `jsoniter-scala` and other libraries that are used in `jsoniter-scala-benchmark`. Consider using the following sbt plugin: https://github.com/triplequote/sbt-scalabench Currently used benchmark that compare jsoniter-scala with argounaut,...

enhancement

https://tools.ietf.org/html/rfc8785

enhancement
question

Fine tune its configuration to follow the current style where it is possible

enhancement

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[Int], b: Option[String], src: Source) object Container { implicit val codec: JsonValueCodec[Container] = JsonCodecMaker.make(CodecMakerConfig.withDiscriminatorFieldName(None)) }...

bug
help wanted