title: Parse Json in VB.NET with "Newtonsoft" Json.net
body: <p>How to Parse Json in vb.net; want to create bittrex ticker.</p>
  
  <p>Request I made with following code:</p>
  
  <pre><code>  Dim request As HttpWebRequest
      Dim response As HttpWebResponse = Nothing
      Dim reader As StreamReader
  
      Try
  
          request = DirectCast(WebRequest.Create("https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-ltc"), HttpWebRequest)
          response = DirectCast(request.GetResponse(), HttpWebResponse)
          reader = New StreamReader(response.GetResponseStream())
  
  
          rawresp = reader.ReadToEnd()
  
  
      Catch ex As Exception
          Console.WriteLine(ex.ToString)
          MsgBox(ex.ToString)
      Finally
          If Not response Is Nothing Then response.Close()
      End Try
  </code></pre>
  
  <p>And i got following json response:</p>
  
  <pre><code>{"success":true,"message":"","result":[{"MarketName":"BTC-LTC","High":0.01670094,"Low":0.01610000,"Volume":47495.02156742,"Last":0.01628948,"BaseVolume":777.22088098,"TimeStamp":"2018-01-21T13:18:23","Bid":0.01624001,"Ask":0.01628948,"OpenBuyOrders":2146,"OpenSellOrders":8104,"PrevDay":0.01622000,"Created":"2014-02-13T00:00:00"}]}
  </code></pre>
  
  <p>Want value of Last to be shown in textbox, so i tried to parse it with "Newtonsoft" as follows:</p>
  
  <pre><code>  Dim jsonArray As JArray = JArray.Parse(rawresp)
      For Each item As JObject In jsonArray
          textboxLast.Text = item.SelectToken("Last").ToString
  
      Next
  </code></pre>
  
  <p>But getting error :(</p>