to_json: Function to quickly use 'jsonlite::toJSON'.

View source: R/to_json.R

to_jsonR Documentation

Function to quickly use jsonlite::toJSON.

Description

Function to quickly use jsonlite::toJSON.

Usage

to_json(x, pretty = TRUE)

Arguments

x

An R object.

pretty

Should the JSON object be pretty printed? Default is TRUE.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on Jan. 10, 2025, 10:06 a.m.