decodeResult

open fun decodeResult(rawResult: JSONElement, serializer: JSONSerializer): TResult(source)

Decodes the provided raw JSON element into an instance of the specified result type.

Parameters

rawResult

The raw JSON element that contains the encoded result.

serializer

The JSON serializer to use.