Does `Json.decodeFromStream(InputStream)` close th...
# serialization
m
Does
Json.decodeFromStream(InputStream)
close the inputStream for me or should I wrap in
use {}
?
b
Not sure, try and see?
Decode from stream then check if it's open
m
Looks like it's doing something in between and requires a trailing EOF but doesn't close: https://github.com/Kotlin/kotlinx.serialization/issues/1789