JSON

Loads data from JSON.


API Reference
pip install jq
from spyder_index.readers.file import JSONReader

JSONReader(input_file, jq_schema, text_content)

Initialize a JSONReader.

  • input_file (str): File path to read.

  • jq_schema (str): The jq schema to use to extract the data from the JSON.

  • text_content (bool): Flag to indicate whether the content is in string format. Default is False


load_data()

Loads data from the specified directory.