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

JsonCodec decoder accepts malformed JSON string with extra characters

Open guersam opened this issue 7 months ago • 7 comments

The JSON codec accepts malformed JSON strings like {}}, "foo"" without error.

Reproducer: https://scastie.scala-lang.org/guersam/IFS2CO8dRGiNpsQhId3u3A/5

guersam avatar Jul 09 '24 07:07 guersam