Python JsonDecoder analogue in Kotlin/JVM
In python json module we have
JsonDecoder::raw_decode method.
Decode a JSON document from s (a str beginning with a JSON document)
and return a 2-tuple of the Python representation and the index in s
where the document ended.
This can be used to decode a JSON document from a string that may have
extraneous data at the end.
from python docs
I need equivalent to this method in...