Document
file_extractor = {".pdf": parser} documents = SimpleDirectoryReader( "./docs/pdfs/all", file_extractor=file_extractor ).load_data()
json_str = Document.json()
document = Document.parse_raw(json_str)