Constructor for a BIDS JSON file.
Note: This class is used for non-sidecars such as dataset_description.json and does not have a validation method.
The name of the JSON file.
The file object representing this file.
The JSON data for this file.
The Object representing this file data. This is used to generate BidsHedIssue objects.
This file's JSON data.
The name of this file.
Determine whether this file has any HED data.
Whether this is a TSV file timeline file.
The validator class used to validate this file.
The validator class used to validate this file.
Validate this validator's tsv file.
The HED schemas used to validate this file.
Static
createParse a BIDS JSON file from a BIDS dataset path.
The root path of the dataset.
The relative path of the file within the dataset.
The built JSON file object.
Static
readRead a BIDS file from a path.
The actual path of the file.
A Promise that resolves to a two-element array containing the file contents and a mocked BIDS-type file object.
Static
readRead a BIDS file from a relative path within a dataset.
The root path of the dataset.
The relative path of the file within the dataset.
A Promise that resolves to a two-element array containing the file contents and a mocked BIDS-type file object.
A BIDS JSON file.