title: Parsing Json data columnwise in shell
body: <p>When I run a command I get a response like this</p>
  
  <pre><code>{
  
      "status": "available",
      "managed": true,
      "name":vdisk7,
      "support":{
      "status": "supported"
      },
      "storage_pool": "pfm9253_pfm9254_new",
      "id": "ff10abad"-2bf-4ef3-9038-9ae7f18ea77c",
      "size":100
  },
  </code></pre>
  
  <p>and hundreds of this type of lists or dictionaries
  I want a command that does such sort of a thing</p>
  
  <pre><code>if name = "something", 
      get the id
  </code></pre>
  
  <p>Any links that would help me in learning such sort of commands would be highly appreciated</p>
  
  <p>I have tried</p>
  
  <p>awk '{if ($2 == "something") print $0;}'</p>
  
  <p>But I think the response is in Json so the colum wise awk formatting is not working.</p>
  
  <p>Also it's just a single command that I need to run so I would prefer not to use any external library.</p>