<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_result_value( self, value, # type: typing.Union[str, typing.Any] dialect # type: DefaultDialect """Decode data, if required."""

        if self.__use_json(dialect) or value is None:
            return value

        return self.__json_codec.loads(value)