title: Parsing a json and grouping contents
body: <p>I have a URL which gives a JSON result. I can parse the json and print the data from the JSON. But my main intention is to group each content and print them into an Excel sheet.</p>
  
  <p>The code I wrote is:</p>
  
  <pre><code>import json
  import urllib2
  url = urllib2.urlopen("urlquery")
  data = json.load(url)
  print data
  </code></pre>
  
  <p>The data is printed in the <code>dict</code> type. Here each content has at least 10 parameters like <code>ID</code>, <code>Name</code>, <code>Rating</code>, <code>Genre</code>, <code>Poster</code>, etc.</p>
  
  <p>How can I group each content with all the parameters? I am stuck here but from the group I know how to print into an Excel sheet.</p>
  
  <p>Sample JSON response is below:</p>
  
  <pre><code>{
      facets: { },
      contents: [
         {
             id: "groupid://7110070",
             type: "group",
             adult: false,
             source: "group",
             instanceId: "groupid://7110070",
             parentalRating: {
             scheme: "custom",
             rating: 0
         },
  </code></pre>
  
  <p>I can't show the entire file due to security concerns.</p>