Function decodeJson

  • Decodes an RSTaggedData object to a JS object. If the data does not contain a UTF-8 encoded JSON payload, the function returns null

    Type Parameters

    • T

    Parameters

    • data: RSTaggedData

      message containing a UTF-8 encoded serialized JSON object

    Returns T | null