Learn R Programming

teal.slice (version 0.5.1)

to_json: 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)

Value

A JSON string.

Arguments

x

(list) representation of teal_slices object.