Json.NET Deserializing System.NullReferenceException : <p>I want to write all names of each library in textBox1 from a .json file. So far I have this code:</p>

<pre><code>client.DownloadFile("https://s3.amazonaws.com/Minecraft.Download/versions/1.8.8/1.8.8.json", "1.8.8.json");
Library libs = JsonConvert.DeserializeObject&lt;Library&gt;(File.ReadAllText("1.8.8.json"));
foreach (var item in libs.name) { textBox1.Text += item; }
public class Library { public string name { get; set; } }
</code></pre>

<p>It makes no errors, but when I run it the error is System.NullReferenceException. Can you please tell me what am I doing wrong?</p>
