agrag.loaders.corpus.types.JsonMode
Bases: StrEnum
How to read a JSON source.
AUTO: Read an array as records and an object as one document. RECORDS: Read a top-level array as one document per element. DOCUMENT: Read a top-level array as one document that holds the whole array.
Attributes:
AUTO
AUTO = 'auto'
DOCUMENT
DOCUMENT = 'document'
RECORDS
RECORDS = 'records'