powered by
prettify(txt, indent = 4)minify(txt)
minify(txt)
myjson <- toJSON(cars) cat(myjson) prettify(myjson) minify(myjson)
Run the code above in your browser using DataLab