View source: R/encode_decode.R
json_decode_dir | R Documentation |
This function decodes a JSON string into a directory structure.
json_decode_dir(json_data, dir)
json_data |
A JSON string representing the directory's contents. |
dir |
A character string specifying the target directory. |
None. Creates files in the specified directory.
## Not run:
# Decode JSON back into a directory
json_decode_dir(json_str, "output_dir")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.