| str2config | R Documentation |
Parse configuration string to R list object.
str2config(text, ...)
text |
JSON, YAML, INI or TOML format string. |
... |
Arguments pass to |
List
json_string <- '{"city" : "Crich"}\n'
yaml_string <- 'foo: 123\n'
json_config <- str2config(json_string)
yaml_config <- str2config(yaml_string)