colrev.loader.json.JSONLoader
- class colrev.loader.json.JSONLoader(*, filename, entrytype_setter=<function JSONLoader.<lambda>>, field_mapper=<function JSONLoader.<lambda>>, id_labeler=<function JSONLoader.<lambda>>, unique_id_field='', logger=<Logger colrev.loader.json (WARNING)>, format_names=False)[source]
Bases:
LoaderLoads json files
Methods
get_nr_recordsGet the number of records in the file
loadLoad table entries from the source
load_records_listLoad json entries
- classmethod get_nr_records(filename)[source]
Get the number of records in the file
- Return type:
int
- load()
Load table entries from the source
- Return type:
dict