toKotlinObject

inline fun <T : Any> String.toKotlinObject(): T(source)
fun <T : Any> String.toKotlinObject(valueType: Class<T>): T(source)

Deprecated

Use parseJson<T>(this) directly instead.

Replace with

import com.lagradost.cloudstream3.utils.AppUtils.parseJson
parseJson<T>(this)