title: Reading an JSON file from S3 using Python boto3
body: <p>I kept following JSON in S3 bucket 'test'</p>
  
  <pre><code>{
    'Details' : "Something" 
  }
  </code></pre>
  
  <p>I am using following code to read this JSON and printing the key 'Details'</p>
  
  <pre><code>s3 = boto3.resource('s3',
                      aws_access_key_id=&lt;access_key&gt;,
                      aws_secret_access_key=&lt;secret_key&gt;
                      )
  content_object = s3.Object('test', 'sample_json.txt')
  file_content = content_object.get()['Body'].read().decode('utf-8')
  json_content = json.loads(repr(file_content))
  print(json_content['Details'])
  </code></pre>
  
  <p>And i am getting error as <strong>'string indices must be integers'</strong>
  I don't want to download the file from S3 and then reading..</p>