to_json: Converts a list to a 'JSON' string

View source: R/teal_slice.R

to_jsonR Documentation

Converts a list to a JSON string

Description

Converts a list representation of teal_slice or teal_slices into a JSON string. Ensures proper unboxing of list elements. This function is used by the format methods for teal_slice and teal_slices.

Usage

to_json(x)

Arguments

x

(list) representation of teal_slices object.

Value

A JSON string.


teal.slice documentation built on May 29, 2024, 1:39 a.m.