encodeResult
Encodes the given result into a JSON representation using the configured result serializer.
Return
A JsonObject representing the encoded result.
Parameters
result
The result object of type TResult to be encoded.
Encodes the given result into a JSON representation using the configured result serializer.
A JsonObject representing the encoded result.
The result object of type TResult to be encoded.