to_json_str.Rd
Convert R object to JSON string
to_json_str(x, opts = list(), ...)
the object to be encoded
Named list of serialization options. Usually created by to_opts()
to_opts()
Other named options can be used to override any options in opts. The valid named options are identical to arguments to to_opts()
opts
Character string
Other JSON Serializer: to_json_file()
to_json_file()
if (FALSE) { to_json_str(iris, pretty = TRUE) to_json_str(iris, opts = to_opts(auto_unbox = FALSE)) }