Type is not supported for deserialization of an array

I'm trying to dezerialize an array but I keep running into an error.

JavaScriptSerializer jsonSerializer = new JavaScriptSerializer();
Profiles thingy = jsonSerializer.Deserialize<Profiles>(fileContents);

This is the code that gives me the error:

Type is not supported for deserialization of an array.

This is how my JSON looks:

[
 {
  "Number": 123,
  "Name": "ABC",
  "ID": 123,
  "Address": "ABC"
 }
]
Jon Skeet
people
quotationmark

You just need to deserialize it to a collection of some sort - e.g. an array. After all, your JSON does represent an array, not a single item. Short but complete example:

using System;
using System.IO;
using System.Web.Script.Serialization;

public class Person
{
    public string Name { get; set; }
    public string ID { get; set; }
    public string Address { get; set; }
    public int Number { get; set; }
}

class Test
{
    static void Main()
    {
        var serializer = new JavaScriptSerializer();
        var json = File.ReadAllText("test.json");
        var people = serializer.Deserialize<Person[]>(json);
        Console.WriteLine(people[0].Name); // ABC
    }
}

people

See more on this question at Stackoverflow