powered by
Parse configuration string to R list object.
str2config(text, ...)
JSON, YAML, INI or TOML format string.
Arguments pass to read.config
read.config
List
# NOT RUN { json_string <- '{"city" : "Crich"}\n' yaml_string <- 'foo: 123\n' json_config <- str2config(json_string) yaml_config <- str2config(yaml_string) # }
Run the code above in your browser using DataLab