zio-json icon indicating copy to clipboard operation
zio-json copied to clipboard

Fast, secure JSON library with tight ZIO integration.

Results 167 zio-json issues
Sort by recently updated
recently updated
newest added

While drafting #1098 I realized that the composition capabilities of `JsonCursor` are more limited than I would have expected: The first thing I tried compiles but fails: ```scala import zio.json._...

## Description This PR closes https://github.com/zio/zio-json/issues/1055 and, in the process, updates `zio-json` to the Scala Native `0.5.x` series (necessary because this requires multiple PRs to Magnolia and Magnolia is already...

🙋 Bounty claim

Was inspired by https://github.com/zio/zio-json/issues/852 issue What do you think about it? If it's ok, I will add documentation for interop

After thinking about the suggestions made in the issue, I think they are not desirable for default behaviour. 1. Repurposing of `@jsonDiscriminator` can not only lead to inconsistencies, but is...

🙋 Bounty claim

To have an updated CI, it's good to use the ZIO SBT CI plugin, otherwise, at least we need to use the contribution guide to update the CI. More info...

good first issue

This is a different approach than #1112. The PR implements a `inheritDiscriminator` annotation to be used on case classes. If the parent class doesn't have a `jsonDiscriminator` annotation it will...

🙋 Bounty claim

This PR should provide support for string-like types (`T 1, "B" -> 2)) ```` json ```json {"aOrB":{"A":1,"B":2}} ```

Hello, This issue appeared when updating to zio-json: `0.7.0`. Here is an example: ```scala final case class Id[A](value: A) object Id { implicit def decoder[A: JsonDecoder]: JsonDecoder[Id[A]] = DeriveJsonDecoder.gen[Id[A]] }...

💎 Bounty