JSONLoader#
- class JSONLoader(config)#
Bases:
Loader
The JSON
Loader
loads JSON files and transforms the data intoDocument
items.- Parameters
Example
{ "step": "loader", "type": "json", "fields": [ "text", "label" ] }
Methods Summary
process
(directory)Process a directory of json files and yield documents.
Methods Documentation