jsoniter-scala
jsoniter-scala copied to clipboard
Scala macros for compile-time generation of safe and ultra-fast JSON codecs
Sometime only serialization or parsing is required. As w/a use `???` operator for non required encoding or decoding methods in custom codecs.
Derivation with `make` works fine when the following ADT is defined on the top level: ``` sealed trait GADT2[A] extends Product with Serializable object GADT2 { case class IsDir(path: String)...
https://hg.openjdk.java.net/jdk/jdk/rev/87828d2e32fe?revcount=1000
It would be very helpful to be able to generate a tiny bit more user friendly error messages that include the key in case of a value parsing error, so...
I was thinking that something along the lines of Jackson's @JsonDeserialize annotation would be ideal. Or any way to wire up that configuration without needing to hand-write custom deserialization code...
Is it possible to derive a codec which supports writing/reading untagged ADTs? Something like Aeson's [UntaggedValue](https://hackage.haskell.org/package/aeson-1.4.6.0/docs/Data-Aeson.html#t:SumEncoding), of course with some caveat that the encodings must be disjoint. I am deserializing...
Hi I would like to build bridge for Jsoniter and Sangria. I thought, it would be written similar to what was done for Circe [https://github.com/sangria-graphql/sangria-circe/blob/master/src/main/scala/sangria/marshalling/circe.scala](url) Could you like give me...
This issue is created on behalf of @pityka for cases when the same type is used for different codecs generated by the `make` call. Here is an example of a...