JSON

pip install pineflow-readers-file
class JSONReader

JSON reader.

Parameters:

jq_schema (str, optional) – jq schema to use to extract the data from the JSON.

load_data(input_file)

Loads data from the specified file.

Parameters:

input_file (str) – File path to load.

Returns:

A list of Document objects loaded from the file.

Return type:

List[Document]