json_map: json_map

Description Usage Arguments Value Examples

Description

Convenience function for making a (possibly empty) named list, which converts to a JSON object.

Usage

1

Arguments

...

optional contents of the named list (as key-value pairs)

Value

a named list

Examples

1
2
json_map()
json_map(one = 1, two = TRUE, three = "THREE")

Example output

named list()
$one
[1] 1

$two
[1] TRUE

$three
[1] "THREE"

aurelius documentation built on May 2, 2019, 3:43 a.m.