validate_dir_json: Validate Directory JSON Structure

View source: R/encode_decode.R

validate_dir_jsonR 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)

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