encodeResultUnsafe
Encodes the given result object into a JSON representation without type safety checks.
Throws
If the provided result cannot be cast to the expected type TResult.
Encodes the given result object into a JSON representation without type safety checks.
If the provided result cannot be cast to the expected type TResult.