title: How to parse the JSON response from URL in flutter
body: <p>I am new to flutter and want to parse the data from a URL that is in json format. The url that I am using is <a href="http://quotes.rest/bible/vod.json" rel="nofollow noreferrer">json link </a>.
  I want to get the &quot;verse&quot; and &quot;chapter&quot; fields from the json array. I have succeeded in getting the response body in snackbar but not able to get single values. I want to get the &quot;verse&quot; and &quot;chapter&quot; and show then in text box. I am using Dart.</p>
  <p>Here is the method that I am using:</p>
  <pre><code> _makeGetRequest() async {
      // make request
      var url = Uri.parse(&quot;http://quotes.rest/bible/vod.json&quot;);
      Response response = await http.get(url);
  
      // sample info available in response
      int statusCode = response.statusCode;
      Map&lt;String, String&gt; headers = response.headers;
      String contentType = headers['content-type'];
      String json = response.body;
  
      ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(json)));
  
    }
  
   @override
    void initState() {
      super.initState();
      streamingController.config(url: &quot;http://stream.zeno.fm/qa8p6uz2tk8uv&quot;);
      streamingController.play();
      _makeGetRequest();
    }
  </code></pre>
  <p>Please help me in getting the proper field values and set them in text box as I am trying to solve it from past two days and have tried all solutions from internet but getting exceptions.</p>