About 527,000 results
Open links in new tab
  1. python - Reading JSON from a file - Stack Overflow

    655 This question already has answers here: How can I parse (read) and use JSON in Python? (6 answers)

  2. How can I parse (read) and use JSON in Python? - Stack Overflow

    My Python program receives JSON data, and I need to get bits of information out of it. How can I parse the data and use the result? I think I need to use json.loads for this task, but I can't under...

  3. python - Loading and parsing a JSON file with multiple JSON objects ...

    You probably don't want to append each result to one list and then process everything if your file is really big. If you have a file containing individual JSON objects with delimiters in-between, use How do I …

  4. Python read JSON file and modify - Stack Overflow

    json_content = json.load(jsonfile) # this is now in memory! you can use it outside 'open' Next, we use the 'with open ()' syntax again, with the 'w' option. 'w' is a write mode which lets us edit and write new …

  5. How to read a json file and return as dictionary in Python

    Jan 5, 2017 · How to read a json file and return as dictionary in Python Asked 8 years, 11 months ago Modified 5 years ago Viewed 40k times

  6. Getting values from JSON using Python - Stack Overflow

    If you want to get values from a JSON document, then open the file first and pass the file handle to json.load() instead. Depending on the document structure, json.load() would return dictionary or list, …

  7. How to read a JSON file as a pandas DataFrame? - Stack Overflow

    Feb 5, 2018 · 33 I am using python 3.6 and trying to download json file (350 MB) as pandas dataframe using the code below. However, I get the following error:

  8. Read json file from python - Stack Overflow

    Oct 3, 2014 · The code is using json as a variable name. It will shadow the module reference you imported. Use different name for the variable. Beside that, the code is passing file object, while …

  9. Reading JSON file with Python 3 - Stack Overflow

    39 I'm using Python 3.5.2 on Windows 10 x64. The JSON file I'm reading is this which is a JSON array containing 2 more arrays. I'm trying to parse this JSON file using the json module. As described in …

  10. Reading a JSON file from S3 using Python boto3 - Stack Overflow

    Jan 13, 2018 · 117 As mentioned in the comments above, repr has to be removed and the json file has to use double quotes for attributes. Using this file on aws/s3: