Function newJsonData

  • Creates a new RSTaggedData object with the message object serialized to JSON and encoded as UTF-8

    Parameters

    • message: any

      the message to encode

    Returns RSTaggedData