title: Build table from JSON in Python
body: <p>I am trying to transform a JSON text into a standard data table using Python, however I have little experience with this and as I search for solutions online I find I am having difficulty implementing any.   </p>
  
  <p>I was trying to use <code>ast.literal_eval</code> but kept getting an error that I have been unable to solve.</p>
  
  <blockquote>
    <p>raise ValueError('malformed node or string: ' + repr(node))</p>
  </blockquote>
  
  <p>JSON:</p>
  
  <pre><code>{
      "duration": 202.0,
      "session_info": {
          "activation_uuid": "ab90d941-df9d-42c5-af81-069eb4f71515",
          "launch_uuid": "11101c41-2d79-42cc-bf6d-37be46802fc8"
      },
      "timestamp": "2019-01-18T11:11:26.135Z",
      "source_page_view_reference": {
          "page_uuid": "1bede017-7b77-461d-82ef-a6bbcfdae4d7",
          "page_id": "/group/More",
          "page_name": "More",
          "view_uuid": "9580f3c5-1116-432a-83bc-9d0b5337f661",
          "page_type": "Native"
      },
      "analytics_sdk": {
          "component_id": "datasdk",
          "component_version": "1.0.52"
      },
      "treatment_id": "mockTreat",
      "client_event_id": "2b3cd878-6932-410b-b1ad-bc40ae888fdc",
      "campaign_id": "mockCamp"
  }
  </code></pre>
  
  <p>Desired Table Format (values trimmed to fit for display purposes):</p>
  
  <pre><code>Duration | session_info.activation_uuid | session_info.launch_uuid | timestamp  | etc
     202.0 |  ab90d941-df9d-42c5-af81-069 | 11101c41-2d79-42cc-bf6d- | 2019-01-18 | etc
  </code></pre>
  
  <p>Any direct help, or simply good resources to learn up on this would be greatly appreciated. I've had trouble finding items that speak directly to what I am looking to do to create a table from a series of similar JSONs.</p>