api / tv.twelvetone.rjson / RJsonParser2 / streamToValue

streamToValue

fun streamToValue(rjsonStream: InputStream): JsonValue

Overrides RJsonParser.streamToValue

Converts an RJson or Json stream to a JsonValue.

Parameters

rjsonStream - A stream containing valid Json or RJson

Exceptions

IoException - SyntaxException -

Return
A json value