pretty: Convert json input to pretty printed output

View source: R/pretty.R

prettyR Documentation

Convert json input to pretty printed output

Description

Convert json input to pretty printed output

Usage

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 jsonlite::prettify(), so you can easily use that yourself.


geojsonio documentation built on Sept. 8, 2023, 5:54 p.m.

Related to pretty in geojsonio...