as_json {lambdr} | R Documentation |
Convert an object to JSON
Description
This function effectively wraps toJSON
with two
hardcoded arguments:
Usage
as_json(x, ...)
Arguments
x |
R object to be converted to JSON. |
... |
additional arguments (except |
Details
-
auto_unbox
is set toTRUE
, such that singleton values are not represented as lists. -
NULL
values are represented as JSONnull
s.
Value
character of class "json"
[Package lambdr version 1.2.5 Index]