Learn R Programming

aurelius (version 0.8.4)

json_map: json_map

Description

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

Usage

json_map(...)

Arguments

...

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

Value

a named list

Examples

Run this code
json_map()
json_map(one = 1, two = TRUE, three = "THREE")

Run the code above in your browser using DataLab