Learn R Programming

googlePubsubR (version 0.0.4)

msg_decode: Decode Pub/Sub message

Description

Converts a Pub/Sub message into an object

Usage

msg_decode(x)

Value

A deserialized object

Arguments

x

A base64 encoded string

Examples

Run this code
if (FALSE) {
library(jsonlite)

pulled_msgs$receivedMessages$messages$data %>% 
  msg_decode() %>%
  fromJSON()
}

Run the code above in your browser using DataLab