title: parsing json to check whether a field is blank in bash
body: <p>So, lets say, I am trying to write a shell script which does the following:</p>
  
  <pre><code>1) Ping http://localhost:8088/query?key=q1
  2) It returns a json response :
      {
  "status": "success", 
  "result": []
   "query": "q1"
    }
  or
  {
  "status": "success", 
  "result": ["foo"], 
  "artist_key": "q1"
  </code></pre>
  
  <p>}</p>
  
  <p>The "result" is either an empty array or filled array.. 
  I am trying to write a shell script which is checking whether "result" is empty list or not?</p>