synthpop.synthpop_utils.json_loader
loader of json file, which ignores comments starting with “#” and allows nested files whenever the “json_file” keyword is detected
Functions
|
Custom JSON loader that removes comments, substitutes filenames. |
Module Contents
- synthpop.synthpop_utils.json_loader.json_loader(filename, json_file_branch=None)
Custom JSON loader that removes comments, substitutes filenames.
Parameters
- filenamestr
filename of the json file implemented
- json_file_branchlist
used to detect recursions
Returns
- data: dictionary
loaded json file with removes comments, substitutes filenames.