Convert json input to pretty printed output

Share:

Description

Convert json input to pretty printed output

Usage

1
pretty(x, indent = 4)

Arguments

x

Input, character string

indent

(integer) Number of spaces to indent

Details

Only works with json class input. This is a simple wrapper around prettify, so you can easily use that yourself.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.