Coerce string to JSON
as.json(x)
x
string to coerce to JSON
Run examples
js <- '{"x":1,"y":2}' as.json(js)