Convert JSON in a character string to R

read_json_str(str, opts = list(), ...)

Arguments

str

a single character string

opts

Named list of options for parsing. Usually created by opts_read_json()

...

Other named options can be used to override any options in opts. The valid named options are identical to arguments to opts_read_json()

Value

R object

See also

Examples

read_json_str("4294967297", opts = opts_read_json(int64 = 'string'))
#> [1] "4294967297"