title: Get a specific data from a json array in erlang using rfc4627
body: <p>This is the output I get after running following 2 commands.</p>
  
  <pre><code>Wc = os:cmd("curl -s -k -X GET 'http://10.210.12.158:10065/iot/get/task_id?id=1'"),
      WW = decode_json(Wc), 
  </code></pre>
  
  <p>OUTPUT --- </p>
  
  <pre><code>{ok,{obj,[{"status",200},
      {"data",
          [{obj,[{"id",1},
             {"task",
                  &lt;&lt;"Turn on the bulb when the temperature is greater than 28 "&gt;&gt;},
             {"working_condition",1},
             {"depending_value",&lt;&lt;"Temperature"&gt;&gt;},
             {"device",&lt;&lt;" BulbOnly"&gt;&gt;},
             {"turning_point",28},
             {"config_id",null}]}]}]}}
  </code></pre>
  
  <p>I want to get these data separately. </p>
  
  <p>Eg -  Task = Turn on the bulb when the temperature is greater than 28</p>
  
  <p>So, How can I do this?</p>