| pretty_json {jsonify} | R Documentation |
Adds indentiation to a JSON string
pretty_json(json, ...)
json |
string of JSON |
... |
other argments passed to to_json |
df <- data.frame(id = 1:10, val = rnorm(10)) js <- to_json( df ) pretty_json(js) ## can also use directly on an R object pretty_json( df )