JSONReader creates one source document for a top-level object or each item in a top-level array, then applies fixed-size chunking.
json_reader.py
Run the Reader
1
Set up your virtual environment
2
Install dependencies
3
Run the script
Reader Parameters
JSONReader also accepts the base Reader constructor parameters.
Use a top-level object or array. In v2.7.2, number, boolean, and null roots raise a
TypeError, and a string root splits into one document per character.JSONReader.async_read() runs the synchronous reader in a worker thread.