add2json: Add Data to JSON file

View source: R/bids_tools.R

add2jsonR Documentation

Add Data to JSON file

Description

Add Data to JSON file

Usage

add2json(list, json_filename, jsonpath = NULL)

Arguments

list

A list with extra information

json_filename

The json file to be supplemented. Preferably without file extensions. Can contain the full path.

jsonpath

The path for the json file. Only required if it has not been provided in the json_filename.

Value

Outputs the supplemented json file.

Examples

add2json(list1, 'pet/sub-01_pet')


mathesong/kipettools documentation built on Feb. 5, 2024, 10:10 p.m.