json_decode_dir: Decode JSON to a Directory

View source: R/encode_decode.R

json_decode_dirR Documentation

Decode JSON to a Directory

Description

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

## Not run: 
# Decode JSON back into a directory
json_decode_dir(json_str, "output_dir")

## End(Not run)

dir2json documentation built on June 8, 2025, 11:31 a.m.