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