minji1115
commited on
Commit
·
f85fef1
1
Parent(s):
1426637
기본
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def get_json_file(json_docs):
|
|
52 |
temp_filepath = os.path.join(temp_dir.name, json_docs.name)
|
53 |
with open(temp_filepath, "w") as f:
|
54 |
f.write(json_docs.getvalue())
|
55 |
-
json_loader = JSONLoader(temp_filepath, 'users')
|
56 |
json_docs = json_loader.load()
|
57 |
return json_docs
|
58 |
|
|
|
52 |
temp_filepath = os.path.join(temp_dir.name, json_docs.name)
|
53 |
with open(temp_filepath, "w") as f:
|
54 |
f.write(json_docs.getvalue())
|
55 |
+
json_loader = JSONLoader(temp_filepath, 'users[].firstName')
|
56 |
json_docs = json_loader.load()
|
57 |
return json_docs
|
58 |
|