colrev.loader.json.JSONLoader¶
- class JSONLoader(*, filename, entrytype_setter, field_mapper, id_labeler, unique_id_field='', logger=<Logger colrev.loader.json (WARNING)>)[source]¶
Bases:
Loader
Loads json files
Methods
Get the number of records in the file
Load table entries from the source
Load 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