api / tv.twelvetone.rjson / RJsonParser / streamToValue

streamToValue

abstract fun streamToValue(rjsonStream: InputStream): JsonValue

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