zio-schema
zio-schema copied to clipboard
JsonCodec decoder accepts malformed JSON string with extra characters
The JSON codec accepts malformed JSON strings like {}}
, "foo""
without error.
Reproducer: https://scastie.scala-lang.org/guersam/IFS2CO8dRGiNpsQhId3u3A/5