title: Loading JSON file gives serialization error
body: <p>I have below JSON file,</p>
  
  <pre><code>[
    {
      "applicationConfig": {
        "Name": "Name1",
        "Site": "Site1"
      },
      "pathConfig": {
        "SourcePath": "C:\\Temp\\Outgoing1",
        "TargetPath": "C:\\Files"
      },
      "credentialConfig": {
        "Username": "test1",
        "password": "super1"
      }
    },
    {
      "applicationConfig": {
        "Name": "Name2",
        "Site": "Site2"
      },
      "pathConfig": {
        "SourcePath": "C:\\Temp\\Outgoing2",
        "TargetPath": "C:\\Files"
      },
      "credentialConfig": {
        "Username": "test2",
        "password": "super2"
      }
    }
  ]
  </code></pre>
  
  <p>And below are C# classes structure,</p>
  
  <pre><code>public class Configurations
  {
      public List&lt;ApplicationConfig&gt; ApplicationConfigs { get; set; }
      public List&lt;PathConfig&gt; PathConfigs { get; set; }
      public List&lt;CredentialConfig&gt; CredentialConfigs { get; set; }
  }
  
  
  public class ApplicationConfig
  {
      public string Name { get; set; }
      public string Site { get; set; }
  }
  
  public class PathConfig
  {
      public string SourcePath { get; set; }
      public string TargetPath { get; set; }
  }
  
  public class CredentialConfig
  {
      public string Username { get; set; }
      public string password { get; set; }
  }
  </code></pre>
  
  <p>Now trying to load JSON and getting below error,</p>
  
  <pre><code>using (var streamReader = new StreamReader(@"./Config.json"))
          {
             var X = JsonConvert.DeserializeObject&lt;Configurations&gt;(streamReader.ReadToEnd());
          }
  </code></pre>
  
  <blockquote>
    <p>$exception    {"Cannot deserialize the current JSON array (e.g. [1,2,3])
    into type 'ConsoleApp8.Configurations' because the type requires a
    JSON object (e.g. {\"name\":\"value\"}) to deserialize
    correctly.\r\nTo fix this error either change the JSON to a JSON
    object (e.g. {\"name\":\"value\"}) or change the deserialized type to
    an array or a type that implements a collection interface (e.g.
    ICollection, IList) like List that can be deserialized from a JSON
    array. JsonArrayAttribute can also be added to the type to force it to
    deserialize from a JSON array.\r\nPath '', line 1, position
    1."}  Newtonsoft.Json.JsonSerializationException</p>
  </blockquote>
  
  <p>What else I need to serialize?</p>