powered by
Coerce string to JSON
as.json(x)
string to coerce to JSON
# NOT RUN { js <- '{"x":1,"y":2}' as.json(js) # }
Run the code above in your browser using DataLab