We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title says, encodeJsonArrayPipeline results in invalid JSON object if ZStream is empty.
encodeJsonArrayPipeline
ZStream
This code, for example:
ZStream.from(List()) .via(zio.json.JsonEncoder[String].encodeJsonArrayPipeline) .run(ZSink.mkString)
produces the value ]. Expected value is [].
]
[]
ZStream version 2.0.12 ZIO-json version 0.5.0
2.0.12
0.5.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As the title says,
encodeJsonArrayPipeline
results in invalid JSON object ifZStream
is empty.This code, for example:
produces the value
]
. Expected value is[]
.ZStream version
2.0.12
ZIO-json version
0.5.0
The text was updated successfully, but these errors were encountered: