This function decodes a JSON string into a directory structure.
Usage
json_decode_dir(json_data, dir)
Arguments
- json_data
A JSON string representing the directory's contents.
- dir
A character string specifying the target directory.
Value
None. Creates files in the specified directory.
Examples
if (FALSE) { # \dontrun{
# Decode JSON back into a directory
json_decode_dir(json_str, "output_dir")
} # }