encodeResultToStringUnsafe

fun encodeResultToStringUnsafe(result: Any?, serializer: JSONSerializer): String(source)

Encodes the provided result object into a JSON string representation without type safety checks.

Throws

If the provided result cannot be cast to the expected type TResult.