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

    649 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 …

    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, …

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

    Jan 13, 2018 · You can use the below code in AWS Lambda to read the JSON file from the S3 bucket and process it using python. import json import boto3 import sys import logging # …

  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, 9 months ago Modified 4 years, 11 months ago Viewed 40k times

  6. 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 …

  7. 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 …

  8. python - How to read a JSON file as a pandas DataFrame? - Stack …

    Feb 5, 2018 · How to read a JSON file as a pandas DataFrame? Asked 7 years, 8 months ago Modified 1 year, 11 months ago Viewed 123k times

  9. How I can I lazily read multiple JSON values from a file/stream in …

    Jul 31, 2011 · I'd like to read multiple JSON objects from a file/stream in Python, one at a time. Unfortunately json.load() just .read()s until end-of-file; there doesn't seem to be any way to use …

  10. 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 …