convert2json: Convert data to json by R class

Description Usage Arguments Value Note Examples

Description

Convert data to json by R class

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
.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

1

frankkramer-lab/RCX documentation built on Feb. 8, 2022, 9:53 p.m.