convert2json: Convert data to json by R class

convert2jsonR Documentation

Convert data to json by R class

Description

Convert data to json by R class

Usage

.convert2json(x, ...)

## S3 method for class 'character'
.convert2json(x)

## S3 method for class 'numeric'
.convert2json(x)

## S3 method for class 'integer'
.convert2json(x)

## S3 method for class 'logical'
.convert2json(x)

## S3 method for class 'list'
.convert2json(x, raw = c(), byElement = FALSE, skipNa = TRUE)

## S3 method for class 'data.frame'
.convert2json(x, raw = c(), skipNa = TRUE)

Arguments

x

data element

raw

character; names of columns not to format (e.g. because it is already converted)

Value

character; json

Note

Internal function only for convenience

Examples

NULL

frankkramer-lab/RCX documentation built on Feb. 4, 2023, 5:12 p.m.