validate_dir_json {dir2json}R Documentation

Validate Directory JSON Structure

Description

Checks if a JSON string is compliant with the expected schema for a directory structure.

Usage

validate_dir_json(json_data)

Arguments

json_data

A JSON string representing the directory's contents.

Value

TRUE if valid, otherwise throws an error.

Examples

## Not run: 
# Validate a JSON string for directory structure
validate_dir_json(json_str)

## End(Not run)

[Package dir2json version 0.1.0 Index]